Skip to content

Commit

Permalink
ci: enable NPM login on for release workflow (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov authored Nov 23, 2021
1 parent 99378c2 commit b3482c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
always-auth: true
token: ${{ secrets.NPM_TOKEN }}
registry-url: 'https://registry.npmjs.org'

- name: Enable NPM cache
uses: actions/cache@v2
Expand Down Expand Up @@ -51,6 +50,8 @@ jobs:
- name: Publish NPM packages
run: npm publish --workspaces --access public --tag ${{ steps.tag.outputs.result }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

release-drive-docker-image:
name: Release Drive to Docker Hub
Expand Down

0 comments on commit b3482c0

Please sign in to comment.