Skip to content

Commit

Permalink
adjust prerelease publisher
Browse files Browse the repository at this point in the history
  • Loading branch information
MetaverseUnknower committed Dec 17, 2023
1 parent 7f3c6fb commit 6a588a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/prerelease-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ jobs:
if: ${{ steps.check_branch.outputs.BRANCH_NAME != 'master' && steps.check_branch.outputs.BRANCH_NAME != 'main' && github.event_name != 'pull_request' }}
run: |
echo "Publishing pre-release version..."
# Add your publishing steps here
npm install
npm run build
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
npm publish --tag prerelease
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 6a588a3

Please sign in to comment.