Skip to content

Commit 623ae7b

Browse files
conorbronsdonclaude
andcommitted
Add CI workflow: test + build on Node 18/20/22
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ec4965e commit 623ae7b

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/ci.yml

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

0 commit comments

Comments
 (0)