Skip to content

Commit

Permalink
Update release-republish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnixon authored Nov 17, 2023
1 parent adeb8bd commit 9c4c1bd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/release-republish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,15 @@ jobs:
- name: Install dependencies
run: yarn

- name: Continuous integration check & build
run: yarn ci-check
- name: Build
run: yarn build

# Use this action to retry after failed publish to npm
# See thread https://github.com/lerna/lerna/issues/1709
- name: Publish
env:
GH_TOKEN: ${{ secrets.GH_TOKEN_LERNA }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn lerna publish from-package --yes
run: |
npm config set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }} -q
yarn lerna publish from-package --yes

0 comments on commit 9c4c1bd

Please sign in to comment.