Add Gitea runner build workflow
All checks were successful
Build / build (push) Successful in 2m2s
Release Dry Run / release-dry-run (push) Successful in 11s
Codex Template Compliance / template-compliance (push) Successful in 5s

This commit is contained in:
ToxicCrzay270
2026-05-15 00:53:40 +02:00
parent 45b96ec20f
commit 26d213df9b
5 changed files with 54 additions and 3 deletions

View File

@@ -0,0 +1,38 @@
name: Build
on:
push:
branches:
- master
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test
- name: Build web artifact
run: npm run build
- name: Upload dist artifact
uses: actions/upload-artifact@v3
with:
name: league-of-legends-gui-overhaul-dist
path: dist/
if-no-files-found: error