Node.js Package #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js Package | |
on: | |
release: | |
types: [created] | |
jobs: | |
publish-npm: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# use Volta to manage yarn/node versions | |
- uses: volta-cli/action@v4 | |
- run: yarn install | |
- run: yarn bootstrap | |
- run: npm i -g [email protected] | |
- run: npm --version && npm publish --workspaces --access public | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.npm_token}} |