From 98d2557c323d29ed12d8bb418b6dfb23c547ca46 Mon Sep 17 00:00:00 2001 From: wdawdwa <2864460459@qq.com> Date: Sat, 22 Aug 2026 18:24:28 +0800 Subject: [PATCH] ci: add verify workflow running typecheck, lint, format, and tests --- .github/workflows/ci.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..0bbdefe --- /dev/null +++ b/.github/workflows/ci.yml @@ -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