Add Gitea Actions workflow: ci.yml
Some checks failed
CI / test (push) Failing after 5s

This commit is contained in:
2026-01-31 12:21:54 +00:00
parent c0e34ceea9
commit 4d0cfae962

29
.gitea/workflows/ci.yml Normal file
View File

@@ -0,0 +1,29 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
- name: Build project
run: npm run build