Skip to content

Commit 8fd9528

Browse files
committed
Restore publishing config
1 parent 1f5d22e commit 8fd9528

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ jobs:
2828
- name: Prepare
2929
run: pnpm install --frozen-lockfile
3030

31+
- name: Set publishing config
32+
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
35+
3136
- name: Publish
3237
run: |
3338
PACKAGE_DIST_TAG=$(node -e "console.log(/^\d+\.\d+\.\d+(\-(\w+)\.\d+)$/.exec(require('./package.json').version)?.[2] || 'latest')")

0 commit comments

Comments
 (0)