Skip to content

Commit

Permalink
Add GitHub actions CI checks
Browse files Browse the repository at this point in the history
  • Loading branch information
p2004a committed Jun 8, 2024
1 parent 8b9e437 commit 9db3a91
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'npm'
- run: npm ci
- run: npm run format:check
- run: npm run build
- run: npm test
- run: npm run lint
- run: npm run compile-schemas && git diff --exit-code

0 comments on commit 9db3a91

Please sign in to comment.