All checks were successful
Build / build (push) Successful in 21s
Release Dry Run / release-dry-run (push) Successful in 16s
Codex Template Compliance / template-compliance (push) Successful in 5s
Scheduled Security Scan / security-scan (push) Successful in 9s
Scheduled Repository Cleanup Check / cleanup-check (push) Successful in 6s
Scheduled Dependency Check / dependency-check (push) Successful in 12s
45 lines
840 B
YAML
45 lines
840 B
YAML
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: Audit production dependencies
|
|
run: npm run audit
|
|
|
|
- name: Lint and typecheck
|
|
run: npm run lint
|
|
|
|
- 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
|