Skip to content

Commit c27d1df

Browse files
committed
ci: add Node 22 GitHub Actions build workflow (PI-02)
1 parent ec12f78 commit c27d1df

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
8+
jobs:
9+
build-and-test:
10+
runs-on: ubuntu-latest
11+
defaults:
12+
run:
13+
working-directory: universal-refiner
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Setup Node 22
18+
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22'
21+
22+
- name: Install dependencies
23+
run: npm ci
24+
25+
- name: Generate version file
26+
run: node scripts/sync-version.mjs
27+
28+
- name: Type check
29+
run: npx tsc --noEmit
30+
31+
- name: Run tests
32+
run: npm test

0 commit comments

Comments
 (0)