Skip to content

Commit ef54f2c

Browse files
authored
release: add npmrc to ensure publish permissions (#107)
* release: add npmrc to ensure publish permissions * use configuration instead * use global config
1 parent 525dfc6 commit ef54f2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ jobs:
125125
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
126126
working-directory: ./npm/wizer
127127
run: npm install && npm version "${{ steps.tagname.outputs.val }}" --allow-same-version
128+
- name: Setup npm auth
129+
run: npm config --global set '//registry.npmjs.org/:_authToken'='$NODE_AUTH_TOKEN'
128130
- name: Publish npm packages
129131
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
130132
working-directory: ./npm

0 commit comments

Comments
 (0)