Skip to content

Commit c7a1c61

Browse files
ci: update version of packages used
1 parent 4308271 commit c7a1c61

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

Diff for: .github/workflows/build.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
matrix:
1616
node-version: [20, latest]
1717
steps:
18-
- uses: actions/checkout@v3
18+
- uses: actions/checkout@v4
1919

2020
- name: Use Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424

Diff for: .github/workflows/publish.yaml

+6-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ jobs:
1212
matrix:
1313
node-version: [20, latest]
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616

1717
- name: Use Node.js ${{ matrix.node-version }}
18-
uses: actions/setup-node@v3
18+
uses: actions/setup-node@v4
1919
with:
2020
node-version: ${{ matrix.node-version }}
21+
registry-url: 'https://registry.npmjs.org'
2122

2223
- name: Install dependencies
2324
run: npm ci
@@ -29,6 +30,6 @@ jobs:
2930
run: npm run build
3031

3132
- 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 }}

0 commit comments

Comments
 (0)