Skip to content

Commit

Permalink
Add pr tag to published version
Browse files Browse the repository at this point in the history
  • Loading branch information
aryzing committed Nov 29, 2024
1 parent 0608454 commit 80314c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ jobs:
run: |
echo "@sats-connect:registry=https://registry.npmjs.org/" > .npmrc
echo "//registry.npmjs.org/:_authToken=$AUTH_TOKEN" >> .npmrc
npm publish --access=public
npm publish --access=public --tag pr-$PR_NUMBER
env:
AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_REGISTRY_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

0 comments on commit 80314c5

Please sign in to comment.