v0.4.13 #31
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 | |
on: | |
release: | |
types: [published, edited] | |
jobs: | |
release: | |
name: publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Begin CI... | |
uses: actions/checkout@v2 | |
- name: Use Node 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
registry-url: https://npm.pkg.github.com/ | |
- name: NPM Publish | |
run: | | |
if [ -e package-lock.json ]; then | |
npm ci | |
else | |
npm i | |
fi | |
npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |