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 7fa350d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ jobs:
tag_name: v${{ steps.package-version.outputs.current-version }}
name: Release v${{ steps.package-version.outputs.current-version }}

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

- name: Publish to NPM
run: npm publish --access public
env:
Expand Down

0 comments on commit 7fa350d

Please sign in to comment.