File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change 7
7
runs-on : ubuntu-latest
8
8
steps :
9
9
- uses : actions/checkout@v4
10
- - run : pnpm i --ignore-scripts
10
+ - uses : pnpm/action-setup@v2
11
+ with :
12
+ version : 8
13
+ run_install : true
11
14
- run : pnpm run lint:js
12
15
- run : pnpm run lint:prettier
13
16
@@ -22,15 +25,21 @@ jobs:
22
25
- uses : actions/setup-node@v4
23
26
with :
24
27
node-version : ${{ matrix.node-version }}
25
- - run : pnpm i --ignore-scripts
28
+ - uses : pnpm/action-setup@v2
29
+ with :
30
+ version : 8
31
+ run_install : true
26
32
- run : pnpm run test
27
33
28
34
coverage :
29
35
needs : [test]
30
36
runs-on : ubuntu-latest
31
37
steps :
32
38
- uses : actions/checkout@v4
33
- - run : pnpm i --ignore-scripts
39
+ - uses : pnpm/action-setup@v2
40
+ with :
41
+ version : 8
42
+ run_install : true
34
43
- run : pnpm run test:coverage
35
44
- uses : codecov/codecov-action@v3
36
45
43
52
with :
44
53
fetch-depth : 0
45
54
persist-credentials : false
46
- - run : pnpm i --ignore-scripts
55
+ - uses : pnpm/action-setup@v2
56
+ with :
57
+ version : 8
58
+ run_install : true
47
59
- run : pnpm run semantic-release
48
60
env :
49
61
GITHUB_TOKEN : ${{ secrets.GH_TOKEN }}
You can’t perform that action at this time.
0 commit comments