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 aa07e4c commit b42836dCopy full SHA for b42836d
.github/workflows/test.yml
@@ -0,0 +1,35 @@
1
+name: test
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [16, 18, 20, 22]
16
17
+ steps:
18
+ - name: checkout
19
+ uses: actions/checkout@v4
20
+ - name: pnpm
21
+ uses: pnpm/action-setup@v4
22
+ with:
23
+ version: 10
24
+ run_install: false
25
+ - name: node ${{ matrix.node-version }}
26
+ uses: actions/setup-node@v4
27
28
+ node-version: ${{ matrix.node-version }}
29
+ cache: 'pnpm'
30
+ - name: install
31
+ run: pnpm install --frozen-lockfile
32
+ - name: test
33
+ run: pnpm test
34
+ env:
35
+ CI: true
0 commit comments