We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e2c962 commit 7d05893Copy full SHA for 7d05893
.github/workflows/ci.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: main
6
+ pull_request:
7
8
9
+jobs:
10
+ checks:
11
+ name: Build ${{ matrix.node-version }} @ ${{ matrix.os }}
12
13
+ strategy:
14
+ matrix:
15
+ node-version:
16
+ - 18
17
+ - 20
18
+ - latest
19
+ os: [ubuntu-latest, windows-latest]
20
21
+ runs-on: ${{ matrix.os }}
22
23
+ steps:
24
+ - uses: actions/checkout@v4
25
+ - name: Install pnpm
26
+ uses: pnpm/action-setup@v4
27
+ with:
28
+ version: 9
29
+ - name: Use Node.js ${{ matrix.node-version }}
30
+ uses: actions/setup-node@v4
31
32
+ node-version: ${{ matrix.node-version }}
33
+ cache: 'pnpm'
34
+ - run: pnpm install
35
+ - run: pnpm build
36
+ - run: pnpm test
0 commit comments