We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f36fdaf commit e2c42fcCopy full SHA for e2c42fc
.github/workflows/test.yml
@@ -0,0 +1,29 @@
1
+name: Test
2
+on:
3
+ push:
4
+ branches: master
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ node-version: [20, 22, 24]
13
+ steps:
14
+ - name: Checkout
15
+ uses: actions/checkout@v6
16
+ - name: Install pnpm
17
+ uses: pnpm/action-setup@v4
18
+ with:
19
+ version: 10
20
+ - name: Setup Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v6
22
23
+ node-version: ${{ matrix.node-version }}
24
+ - name: Install dependencies
25
+ run: pnpm install --frozen-lockfile
26
+ - name: Lint
27
+ run: pnpm lint
28
+ - name: Run tests
29
+ run: pnpm test
0 commit comments