File tree 1 file changed +27
-21
lines changed
1 file changed +27
-21
lines changed Original file line number Diff line number Diff line change @@ -10,35 +10,41 @@ jobs:
10
10
test-webpack4 :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
- - uses : actions/checkout@v2
14
- - name : Set node version to 16
15
- uses : actions/setup-node@v2
13
+ - uses : actions/checkout@v3
14
+ - uses : pnpm/action-setup@v2
16
15
with :
17
- node-version : 16
18
- cache : ' yarn'
19
- - run : yarn install
20
- - run : yarn test:webpack4
16
+ version : 8.5.0
17
+ - uses : actions/setup-node@v3
18
+ with :
19
+ node-version : ' 18'
20
+ cache : ' pnpm'
21
+ - run : pnpm install
22
+ - run : pnpm test:webpack4
21
23
22
24
test-webpack5 :
23
25
runs-on : ubuntu-latest
24
26
steps :
25
- - uses : actions/checkout@v2
26
- - name : Set node version to 16
27
- uses : actions/setup-node@v2
27
+ - uses : actions/checkout@v3
28
+ - uses : pnpm/action-setup@v2
29
+ with :
30
+ version : 8.5.0
31
+ - uses : actions/setup-node@v3
28
32
with :
29
- node-version : 16
30
- cache : ' yarn '
31
- - run : yarn install
32
- - run : yarn test
33
+ node-version : ' 18 '
34
+ cache : ' pnpm '
35
+ - run : pnpm install
36
+ - run : pnpm test
33
37
34
38
test-webpack5-inline-match-resource :
35
39
runs-on : ubuntu-latest
36
40
steps :
37
- - uses : actions/checkout@v2
38
- - name : Set node version to 16
39
- uses : actions/setup-node@v2
41
+ - uses : actions/checkout@v3
42
+ - uses : pnpm/action-setup@v2
43
+ with :
44
+ version : 8.5.0
45
+ - uses : actions/setup-node@v3
40
46
with :
41
- node-version : 16
42
- cache : ' yarn '
43
- - run : yarn install
44
- - run : yarn test:match-resource
47
+ node-version : ' 18 '
48
+ cache : ' pnpm '
49
+ - run : pnpm install
50
+ - run : pnpm test:match-resource
You can’t perform that action at this time.
0 commit comments