We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b22660 commit b0f273dCopy full SHA for b0f273d
.github/workflows/release.yml
@@ -33,10 +33,8 @@ jobs:
33
cache: "pnpm"
34
registry-url: "https://registry.npmjs.org"
35
36
- - name: Configure npm
+ - name: Test npm auth
37
run: |
38
- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
39
- npm config set access public
40
echo "Testing npm auth..."
41
npm whoami || echo "npm auth failed!"
42
@@ -104,7 +102,7 @@ jobs:
104
102
git push origin main --tags
105
103
env:
106
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
107
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
+ NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
108
109
- name: Create GitHub Release
110
if: steps.changesets.outputs.has_changesets == 'true' && env.RELEASE_TAG != ''
0 commit comments