Skip to content

Commit

Permalink
Wrong publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed May 4, 2024
1 parent 748fd6e commit 73d249d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ jobs:
- name: Publish Release Package
if: startsWith(github.ref, 'refs/tags/v')
working-directory: npm
run: npm publish --provenance --access public
run: |
npm config set //registry.npmjs.org/:_authToken "$NODE_AUTH_TOKEN"
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -113,8 +115,6 @@ jobs:
- name: Push GitHub CI Packages
if: github.event_name != 'pull_request'
working-directory: npm
run: |
npm config set //registry.npmjs.org/:_authToken "$NODE_AUTH_TOKEN"
npm publish --access public
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 73d249d

Please sign in to comment.