Skip to content

Commit

Permalink
Merge pull request #1457 from glimmerjs/add-another-flag-to-pnpm-publish
Browse files Browse the repository at this point in the history
Add --force to pnpm publish to account for already published packages
  • Loading branch information
NullVoxPopuli authored Oct 24, 2023
2 parents 2b6952e + a1b4ed4 commit 6d35de3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,15 @@ jobs:
#
# > It will skip the private packages, presumably?
# yes
#
# > --force
# Packages are proceeded to be published even if their current version is already in the
# registry.
#
# > --no-git-checks
# we publish from tags, and default behavior is to only allow publishing on main/master
- run: |
npm whoami --registry=https://registry.npmjs.org/
pnpm -r publish --access public --no-git-checks
pnpm -r publish --access public --no-git-checks --force
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6d35de3

Please sign in to comment.