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 805b27a commit 5f09d74Copy full SHA for 5f09d74
.github/workflows/test.yml
@@ -0,0 +1,30 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches: main
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ node-version: [18, 20, 22]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Setup pnpm
19
+ uses: pnpm/action-setup@v2
20
+ - name: Setup Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ cache: pnpm
25
+ - name: Install dependencies
26
+ run: pnpm install --frozen-lockfile
27
+ - name: Bootstrap packages
28
+ run: pnpm lerna bootstrap
29
+ - name: Run tests
30
+ run: pnpm test
0 commit comments