Skip to content

Commit

Permalink
Set public publish access
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Mar 25, 2024
1 parent 0fe6015 commit 3b3cd71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
run: npm run build

- name: Publish to NPM package registry
run: npm publish
run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
CURRENT_VERSION: ${{ steps.current-version.outputs.CURRENT_VERSION }}

- name: Publish to NPM package registry
run: npm publish --tag pr-$PR_NUMBER
run: npm publish --access=public --tag pr-$PR_NUMBER
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

0 comments on commit 3b3cd71

Please sign in to comment.