ci: add verify workflow running typecheck, lint, format, and tests

This commit is contained in:
wdawdwa committed 2026-08-22 18:24:28 +08:00
1 parent afd49f7d85
commit 98d2557c32
1 file changed
+26
+26
View File
@@ -0,0 +1,26 @@
name: CI
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
verify:
name: typecheck-lint-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run typecheck
- run: npm run lint
- run: npm run format:check
- run: node --import tsx --experimental-test-coverage --test test/**/*.test.ts