Automate NPM publish
This commit is contained in:
parent
cb8e4841ba
commit
ae9fd3e8ba
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue