Skip to content

Commit 4f3b255

Browse files
committed
ci: add node test workflow
1 parent f5c6e4f commit 4f3b255

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Node
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
cache: npm
20+
- name: Install
21+
run: npm ci
22+
- name: Typecheck
23+
run: npm run typecheck
24+
- name: Test
25+
run: npm test

0 commit comments

Comments
 (0)