Skip to content

Commit

Permalink
add --dry-run command to publish command to test workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Kashish Mittal <[email protected]>
  • Loading branch information
04kash committed Oct 10, 2024
1 parent 8d69e98 commit ed11fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ jobs:

- name: publish
run: |
yarn config set -H 'npmAuthToken' "${{secrets.NPM_TOKEN}}"
yarn workspaces foreach -v --no-private npm publish --access public --tolerate-republish
yarn config set -H 'npmAuthToken' "${{ secrets.NPM_TOKEN }}"
yarn workspaces foreach -v --no-private npm publish --access public --tolerate-republish --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit ed11fcd

Please sign in to comment.