Skip to content

Commit 9dcfcef

Browse files
refactor: update npm install command to include --legacy-peer-deps flag in .github/workflows/publish.yml
1 parent 6e8b6a2 commit 9dcfcef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
- name: Build the package
2525
run: npm run build
2626

27+
- name: Set up npm authentication
28+
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
29+
2730
- name: Publish to npm
2831
run: npm publish
2932
env:

0 commit comments

Comments
 (0)