File tree Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Expand file tree Collapse file tree 1 file changed +8
-19
lines changed Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
- on : [push, pull_request ]
3
+ on : [push]
4
4
5
5
jobs :
6
6
test :
7
7
name : Test Node.js ${{ matrix.node-version }}
8
8
runs-on : ubuntu-latest
9
+
9
10
strategy :
10
11
fail-fast : true
11
12
matrix :
12
13
node-version :
13
- - 18
14
+ - 20
14
15
- 22
15
16
16
17
steps :
17
- - name : Checkout
18
- uses : actions/checkout@v4
19
-
20
- - name : Install pnpm
21
- uses : pnpm/action-setup@v3
22
- id : pnpm-install
23
- with :
24
- version : 9.12.2
25
- run_install : false
26
-
27
- - name : Install Node.js
28
- uses : actions/setup-node@v4
18
+ - uses : actions/checkout@v4
19
+ - uses : pnpm/action-setup@v4
20
+ - uses : actions/setup-node@v4
29
21
with :
30
22
node-version : ${{ matrix.node-version }}
31
23
cache : ' pnpm'
32
24
33
- - name : Install dependencies
34
- run : pnpm install --frozen-lockfile --strict-peer-dependencies
35
-
36
- - name : Run test
37
- run : pnpm test
25
+ - run : pnpm install --frozen-lockfile --strict-peer-dependencies
26
+ - run : pnpm test
38
27
39
28
# TODO Enable those lines below if you use a Redis cache, you'll also need to configure GitHub Repository Secrets
40
29
# env:
You can’t perform that action at this time.
0 commit comments