File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -27,15 +27,19 @@ jobs:
27
27
fetch-depth : 0
28
28
29
29
- uses : pnpm/action-setup@v4
30
+
30
31
- name : Use Node.js v${{ matrix.node-version }}
31
32
uses : actions/setup-node@v4
32
33
with :
33
34
node-version : ${{ matrix.node-version }}
34
35
registry-url : https://registry.npmjs.org/
35
36
cache : pnpm
36
37
38
+ - name : Setup ni
39
+ run : npm i -g @antfu/ni
40
+
37
41
- name : Install dependencies
38
- run : pnpm install
42
+ run : nci
39
43
40
44
- name : Test
41
- run : npm run test
45
+ run : nr test
Original file line number Diff line number Diff line change @@ -18,22 +18,31 @@ jobs:
18
18
- uses : actions/checkout@v4
19
19
with :
20
20
fetch-depth : 0
21
+
21
22
- uses : pnpm/action-setup@v4
23
+
22
24
- name : Use Node.js v${{ matrix.node-version }}
23
25
uses : actions/setup-node@v4
24
26
with :
25
27
node-version : ${{ matrix.node-version }}
26
28
registry-url : https://registry.npmjs.org/
27
29
cache : pnpm
30
+
31
+ - name : Setup ni
32
+ run : npm i -g @antfu/ni
33
+
28
34
- name : Install dependencies
29
- run : pnpm install
35
+ run : nci
36
+
30
37
- name : Build
31
- run : npm run build
38
+ run : nr build
39
+
32
40
- name : Publish package
33
41
run : npm publish
34
42
env :
35
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
44
+
36
45
- name : Generate changelog
37
- run : npx changelogithub
46
+ run : nlx changelogithub
38
47
env :
39
48
GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments