Files
c5612832-bfdb-42e7-b450-e7c…/.gitea/workflows/build.yml
2026-03-10 17:52:54 +00:00

37 lines
724 B
YAML

name: Code Check
on:
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '24'
- name: Install dependencies
run: npm ci --prefer-offline --no-audit
timeout-minutes: 5
- name: TypeScript check
run: npm run typecheck
timeout-minutes: 3
- name: ESLint check
run: npm run lint
timeout-minutes: 3
- name: Upload build log on failure
if: failure()
uses: actions/upload-artifact@v3
with:
name: build-log
path: build.log