Skip to content

Commit

Permalink
feat: Updated packages publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
chavda-bhavik committed Dec 1, 2022
1 parent 8c13c6e commit 258d850
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/publish-prod-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,12 @@ jobs:
version: 7.9.4
run_install: true

- name: Publish @impler/react package on NPM 📦
working-directory: packages/react
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish @impler/shared package on NPM 📦
working-directory: libs/shared
run: npm config set _authToken=${{ secrets.NPM_TOKEN }}
run: npm publish --access public

- name: Publish @impler/react package on NPM 📦
working-directory: packages/react
run: npm config set _authToken=${{ secrets.NPM_TOKEN }}
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 258d850

Please sign in to comment.