Skip to content

Commit

Permalink
ci(workflow): add public access tags
Browse files Browse the repository at this point in the history
  • Loading branch information
clukhei committed Aug 29, 2024
1 parent 729d480 commit ef710cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ jobs:
- run: npx playwright install
- run: npm run test
- run: npm run build
- run: npm publish --tag alpha ./lib
- run: npm publish --tag alpha ./lib --access public
if: contains(env.NPM_TAG, 'alpha')
- run: npm publish --tag beta ./lib
- run: npm publish --tag beta ./lib --access public
if: contains(env.NPM_TAG, 'beta')
- run: npm publish --tag rc ./lib
- run: npm publish --tag rc ./lib --access public
if: contains(env.NPM_TAG, 'rc')
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit ef710cd

Please sign in to comment.