Skip to content

Commit

Permalink
Try access=public when publishing with npm (#208)
Browse files Browse the repository at this point in the history
As suggested in #207, this may be necessary since this is a scoped
package.
  • Loading branch information
ebrelsford authored Jun 26, 2024
1 parent 65d8411 commit 0568cf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ jobs:
working-directory: js
if: ${{ steps.prepare_release.outputs.release_type == 'regular' }}
run: |
npm publish
npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}

- name: Publish NPM package (pre-release)
working-directory: js
if: ${{ steps.prepare_release.outputs.release_type == 'prerelease' }}
run: |
npm publish --tag next
npm publish --access=public --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ORG_TOKEN }}

Expand Down

0 comments on commit 0568cf2

Please sign in to comment.