-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (40 loc) · 982 Bytes
/
Copy pathci-node.yml
File metadata and controls
45 lines (40 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Node CI
on:
push:
branches: [main]
paths:
- "implementations/node/**"
- "spec/**"
- ".github/workflows/ci-node.yml"
pull_request:
paths:
- "implementations/node/**"
- "spec/**"
- ".github/workflows/ci-node.yml"
workflow_dispatch:
permissions:
contents: read
defaults:
run:
working-directory: implementations/node
jobs:
test:
name: ${{ matrix.os }} / Node ${{ matrix.node }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [22, 24]
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
cache: npm
cache-dependency-path: implementations/node/package-lock.json
- run: npm ci
- run: npm run typecheck
- run: npm test
- run: npm run build
- run: npm run verify:package