Skip to content

Commit

Permalink
ci: update npm release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ijsKoud authored Nov 25, 2022
1 parent c4dfd65 commit 8ab23a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
TAG=$([[ ${{ github.event_name }} == 'push' ]] && echo 'next' || echo 'pr-${{ github.event.inputs.prNumber }}')
yarn config set npmAuthToken ${NODE_AUTH_TOKEN}
yarn config set npmPublishRegistry "https://registry.yarnpkg.com"
yarn bump -n "@snowcrystal/${{ github.event.inputs.repo }}" --preid "${TAG}.$(git rev-parse --verify --short HEAD)"
yarn bump -n "@${{ github.repository }}" -p . --preid "${TAG}.$(git rev-parse --verify --short HEAD)"
yarn npm publish --tag ${TAG}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

0 comments on commit 8ab23a4

Please sign in to comment.