Skip to content

Commit

Permalink
fix(release): fix publish step by configuring npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikaël Bouchez committed Jan 14, 2022
1 parent 3d4fb0f commit 2a1f5cd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ jobs:
name: Release v${{ steps.package-version.outputs.current-version }}

- name: Publish to NPM
uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

run: npm publish --access public
env:
VERSION: ${{ steps.package-version.outputs.current-version }}
Expand Down

0 comments on commit 2a1f5cd

Please sign in to comment.