Automate NPM publish

This commit is contained in:
Luis Blanco 2021-03-21 18:23:26 +03:00
parent cb8e4841ba
commit ae9fd3e8ba
1 changed files with 1 additions and 2 deletions

View File

@ -28,8 +28,7 @@ jobs:
- name: Publish - name: Publish
run: | run: |
npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
echo npm publish --ignore-scripts npm publish --ignore-scripts
echo v${{ steps.package-version.outputs.current-version}}
env: env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: GitHub Release - name: GitHub Release