Skip to content

Commit

Permalink
fix publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
rannn505 committed May 30, 2024
1 parent ced0d02 commit c8fb7d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/cd-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ jobs:
- name: Publish to npm
run: |
pnpm --filter ${{ env.PACKAGE_NAME }} \
--access public --provenance --tag ${{ steps.deployment.outputs.release-channel }} \
publish
pnpm --filter ${{ env.PACKAGE_NAME }} publish \
--access public --provenance --tag ${{ steps.deployment.outputs.release-channel }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# ---
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/cd-ts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ jobs:
- name: Publish to npm
run: |
pnpm --filter ${{ env.PACKAGE_NAME }} --filter @configu/node --filter @configu/browser \
--access public --provenance --tag ${{ steps.deployment.outputs.release-channel }} \
publish
pnpm --filter ${{ env.PACKAGE_NAME }} --filter @configu/node --filter @configu/browser publish \
--access public --provenance --tag ${{ steps.deployment.outputs.release-channel }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
# ---
Expand Down

0 comments on commit c8fb7d1

Please sign in to comment.