File tree 2 files changed +8
-7
lines changed
2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ jobs:
15
15
matrix :
16
16
node-version : [20, latest]
17
17
steps :
18
- - uses : actions/checkout@v3
18
+ - uses : actions/checkout@v4
19
19
20
20
- name : Use Node.js ${{ matrix.node-version }}
21
- uses : actions/setup-node@v3
21
+ uses : actions/setup-node@v4
22
22
with :
23
23
node-version : ${{ matrix.node-version }}
24
24
Original file line number Diff line number Diff line change @@ -12,12 +12,13 @@ jobs:
12
12
matrix :
13
13
node-version : [20, latest]
14
14
steps :
15
- - uses : actions/checkout@v3
15
+ - uses : actions/checkout@v4
16
16
17
17
- name : Use Node.js ${{ matrix.node-version }}
18
- uses : actions/setup-node@v3
18
+ uses : actions/setup-node@v4
19
19
with :
20
20
node-version : ${{ matrix.node-version }}
21
+ registry-url : ' https://registry.npmjs.org'
21
22
22
23
- name : Install dependencies
23
24
run : npm ci
29
30
run : npm run build
30
31
31
32
- name : Publish package
32
- run : |
33
- npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
34
- npm publish --access public
33
+ run : npm publish --access public
34
+ env :
35
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments