commit 5a6aa446a22b29f83f38b93c4b51297ad55f84e0 parent 85977c6f380d6eeb31494d4ff2a495480482e7d0 Author: Henry Unite <unitehenry@gmail.com> Date: Mon, 11 May 2026 03:54:36 +0000 ci: check Diffstat:
| A | .github/workflows/main.yml | | | 27 | +++++++++++++++++++++++++++ |
1 file changed, 27 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml @@ -0,0 +1,27 @@ +on: + push: + branches: [ main ] + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v6 + + - name: Setup Node.js + uses: actions/setup-node@v6 + with: + node-version: 22 + + - name: Install dependencies + run: npm --prefix app install + + - name: Run lint + run: ./scripts/lint + + - name: Check formatting + run: npx prettier --check "**/*.{ts,tsx}" + + - name: Run typecheck + run: ./scripts/typecheck