Skip to content

Commit 7fa350d

Browse files
author
Mikaël Bouchez
committed
fix(release): fix publish step by configuring npmrc
1 parent 3d4fb0f commit 7fa350d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ jobs:
5050
tag_name: v${{ steps.package-version.outputs.current-version }}
5151
name: Release v${{ steps.package-version.outputs.current-version }}
5252

53+
- name: Setup npmrc
54+
uses: actions/setup-node@v2
55+
with:
56+
node-version: '16.x'
57+
registry-url: 'https://registry.npmjs.org'
58+
5359
- name: Publish to NPM
5460
run: npm publish --access public
5561
env:

0 commit comments

Comments
 (0)