Skip to content

Commit

Permalink
fix: explicitly set access public for pnpm publish (#449)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppvg authored Dec 27, 2023
1 parent 4a71391 commit 5f7e95a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
# but github will checkout the tag, so we need to disable the check
run: |
pnpm --recursive npm-version --no-git-tag-version ${{ env.RELEASE_VERSION }}
pnpm --recursive publish --no-git-checks
pnpm --recursive publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand All @@ -56,6 +56,6 @@ jobs:
# but github will checkout the tag, so we need to disable the check
run: |
pnpm --recursive npm-version --no-git-tag-version ${{ env.RELEASE_VERSION }}
pnpm --recursive publish --no-git-checks
pnpm --recursive publish --no-git-checks --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5f7e95a

Please sign in to comment.