We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9fcb5f8 + 69cf21d commit 56a297aCopy full SHA for 56a297a
.github/workflows/release.yml
@@ -25,7 +25,8 @@ jobs:
25
26
- name: Publish package
27
run: |
28
- echo -e "registry=https://registry.npmjs.org/\nhttps://registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > .npmrc
+ npm config set registry=https://registry.npmjs.org/
29
+ npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
30
npm publish
31
env:
32
NODE_AUTH_TOKEN: ${{ secrets.NPM_API_TOKEN }}
@@ -35,4 +36,4 @@ jobs:
35
36
37
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
38
gh release upload ${{ github.event.release.tag_name }} build/*tgz --clobber
- if: ( github.event_name == 'release' && github.event.action == 'published' ) || github.event_name == 'workflow_dispatch'
39
+ if: ( github.event_name == 'release' && github.event.action == 'published' ) || github.event_name == 'workflow_dispatch'
0 commit comments