Added npm login to release GitHub Action

no issue
This commit is contained in:
Daniel Lockyer 2020-04-07 11:59:18 +01:00
parent 604fea8f1b
commit 4cbc453d0e

View File

@ -23,4 +23,6 @@ jobs:
- run: grunt release --skip-tests
- uses: tryghost/action-ghost-release@master
- run: npm publish --registry https://registry.npmjs.org/
- run: npm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN
- run: npm publish