Skip to content

Commit cfba588

Browse files
committed
fix(release): pass NODE_AUTH_TOKEN to npm publish step
The publish step was missing the env mapping for NODE_AUTH_TOKEN, so npm received an unauthenticated PUT and responded with 404. This caused the v0.15.0 release workflow to fail at the publish step.
1 parent 23b7490 commit cfba588

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,8 @@ jobs:
190190
});
191191
' <<<"$metadata"
192192
- name: Publish npm package
193+
env:
194+
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
193195
run: npm publish --provenance --access public
194196
- name: Attach npm package to GitHub release
195197
env:

0 commit comments

Comments
 (0)