Skip to content

Commit 13116a8

Browse files
committed
ci(publish): add temporary npm token auth
Inject NODE_AUTH_TOKEN into the publish workflow so the first npm release can be bootstrapped before trusted publishing is enabled for the package. This keeps the existing release automation intact while using a temporary NPM_TOKEN secret.
1 parent 87e39f7 commit 13116a8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ jobs:
120120
run: pnpm run smoke
121121

122122
- name: Publish to npm with provenance
123+
env:
124+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
123125
run: pnpm publish --provenance --access public
124126

125127
- name: Create and push release tag

0 commit comments

Comments
 (0)