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 7e00a0c commit ee6c98aCopy full SHA for ee6c98a
.github/workflows/build.yml
@@ -0,0 +1,36 @@
1
+name: Build
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ strategy:
13
+ matrix:
14
+ node-version: [18.x, 20.x, 22.x]
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - uses: pnpm/action-setup@v4
20
+ with:
21
+ version: 9
22
23
+ - name: Use Node.js ${{ matrix.node-version }}
24
+ uses: actions/setup-node@v4
25
26
+ node-version: ${{ matrix.node-version }}
27
+ cache: 'pnpm'
28
29
+ - name: Install dependencies
30
+ run: pnpm install --frozen-lockfile
31
32
+ - name: Build CLI
33
+ run: pnpm build
34
35
+ - name: Run tests
36
+ run: pnpm test
.github/workflows/push.yaml renamed to .github/workflows/release.yaml
0 commit comments