2.0.2 #23
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: Publish Package to npmjs | |
on: | |
release: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# Setup .npmrc file to publish to npm | |
# See https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages | |
- uses: actions/[email protected] | |
with: | |
node-version: 16 | |
registry-url: "https://registry.npmjs.org" | |
- run: npm install | |
- run: npm test | |
- run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.ADOBE_BOT_NPM_TOKEN }} |