Skip to content

Commit 882e033

Browse files
authored
chore: switch to new auth token for publishing packages
PR: #342
1 parent 362acc9 commit 882e033

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/checkpr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
id: pnpm-install
2929

3030
- name: Set up Node.js
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v6
3232
with:
3333
cache: pnpm
3434
node-version-file: package.json
@@ -53,7 +53,7 @@ jobs:
5353
id: pnpm-install
5454

5555
- name: Set up Node.js
56-
uses: actions/setup-node@v4
56+
uses: actions/setup-node@v6
5757
with:
5858
cache: pnpm
5959
node-version-file: package.json

.github/workflows/publish-to-npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,13 @@ jobs:
2222
id: pnpm-install
2323

2424
- name: Set up Node.js
25-
uses: actions/setup-node@v4
25+
uses: actions/setup-node@v6
2626
with:
2727
cache: pnpm
2828
node-version-file: package.json
29+
registry-url: https://registry.npmjs.org
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
2932

3033
- name: Install dependencies
3134
run: pnpm install

0 commit comments

Comments
 (0)