ci: add Forgejo Actions workflow for test automation
Some checks failed
CI / test (push) Failing after 9m19s
Some checks failed
CI / test (push) Failing after 9m19s
Runs TypeScript type checking and vitest on push/PR to master.
This commit is contained in:
parent
0541a5f1d1
commit
8a7e5bce8c
1 changed files with 22 additions and 0 deletions
22
.forgejo/workflows/ci.yml
Normal file
22
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [master]
|
||||||
|
pull_request:
|
||||||
|
branches: [master]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
- name: Type check
|
||||||
|
run: npx tsc --noEmit
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: npm test
|
||||||
Loading…
Add table
Reference in a new issue