Skip to content

Commit 622124a

Browse files
authored
Merge pull request #10 from ZenRows/chore/ci
ci: add GitHub Actions workflow (typecheck + test on node 20/22)
2 parents f053355 + 4bdf113 commit 622124a

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
8+
jobs:
9+
test:
10+
runs-on: ubuntu-latest
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node: [20, 22]
15+
name: node ${{ matrix.node }}
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: ${{ matrix.node }}
21+
cache: npm
22+
- run: npm ci
23+
- run: npm run typecheck
24+
- run: npm test

0 commit comments

Comments
 (0)