File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,14 @@ jobs:
15
15
steps :
16
16
- uses : actions/checkout@v2
17
17
18
- - name : Install pnpm
19
- uses : pnpm/action-setup@v2
20
-
21
18
- name : Set node
22
19
uses : actions/setup-node@v2
23
20
with :
24
21
node-version : 16.x
25
22
cache : pnpm
26
23
24
+ - run : corepack enable
25
+
27
26
- name : Setup
28
27
run : npm i -g @antfu/ni
29
28
@@ -45,15 +44,14 @@ jobs:
45
44
steps :
46
45
- uses : actions/checkout@v2
47
46
48
- - name : Install pnpm
49
- uses : pnpm/action-setup@v2
50
-
51
47
- name : Set node version to ${{ matrix.node }}
52
48
uses : actions/setup-node@v2
53
49
with :
54
50
node-version : ${{ matrix.node }}
55
51
cache : pnpm
56
52
53
+ - run : corepack enable
54
+
57
55
- name : Setup
58
56
run : npm i -g @antfu/ni
59
57
Original file line number Diff line number Diff line change 9
9
release :
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
12
+ - uses : actions/checkout@v3
13
13
with :
14
14
fetch-depth : 0
15
- - uses : actions/setup-node@v2
15
+
16
+ - uses : actions/setup-node@v3
16
17
with :
17
18
node-version : ' 14'
18
19
registry-url : https://registry.npmjs.org/
19
- - run : npm i -g pnpm @antfu/ni
20
+
21
+ - run : corepack enable
22
+
23
+ - run : npm i -g @antfu/ni
20
24
- run : nci
21
25
- run : nr test --if-present
22
26
- run : npm publish --access public
You can’t perform that action at this time.
0 commit comments