Skip to content

Commit

Permalink
CI: npm token env for actions/setup-node
Browse files Browse the repository at this point in the history
  • Loading branch information
Istador committed Apr 25, 2022
1 parent 28b489a commit 61de85d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/actions/deploy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ runs:
uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node }}
registry-url: 'https://registry.npmjs.org'
env:
NODE_AUTH_TOKEN: ${{ inputs.token }}
-
name: Publish to NPM
run: npm publish --access=public
shell: bash
env:
NODE_AUTH_TOKEN: ${{ inputs.token }}

0 comments on commit 61de85d

Please sign in to comment.