Skip to content

Commit b61ea45

Browse files
committed
chore: fix token
1 parent 0fbbd7f commit b61ea45

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ jobs:
8989
run: npm version ${{ steps.version.outputs.version }} --no-git-tag-version
9090

9191
- name: Publish to npm
92-
run: npm publish --tag dev --provenance --access public
93-
env:
94-
NODE_AUTH_TOKEN: ''
92+
run: |
93+
echo "registry=https://registry.npmjs.org/" > ~/.npmrc
94+
npm publish --tag dev --provenance --access public
9595
9696
release-prod:
9797
if: inputs.devRelease == 'no'
@@ -137,9 +137,9 @@ jobs:
137137
run: git push --follow-tags
138138

139139
- name: Publish to npm
140-
run: npm publish --tag latest --provenance --access public
141-
env:
142-
NODE_AUTH_TOKEN: ''
140+
run: |
141+
echo "registry=https://registry.npmjs.org/" > ~/.npmrc
142+
npm publish --tag latest --provenance --access public
143143
144144
- name: Create GitHub Release
145145
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)