Skip to content

Commit f98fbf8

Browse files
committed
Setup GitHub CI
1 parent c6a2cfc commit f98fbf8

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/tests.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test-node:
7+
runs-on: ubuntu-latest
8+
strategy:
9+
matrix:
10+
node-version: [18, 20, 21]
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: pnpm/action-setup@v2
14+
with:
15+
version: 8
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: ${{ matrix.node-version }}
19+
cache: pnpm
20+
- run: pnpm install
21+
- name: Typecheck
22+
run: pnpm typecheck
23+
- name: Test
24+
run: pnpm test

0 commit comments

Comments
 (0)