Skip to content

Commit 35d659c

Browse files
Hugo PerezHugo Perez
authored andcommitted
fix: configure npm authentication for GitHub Packages in release workflow
1 parent 9828f27 commit 35d659c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ jobs:
2929
- name: Run tests
3030
run: npm test
3131

32+
- name: Configure npm for GitHub Packages
33+
run: |
34+
echo "@sovereign-network:registry=https://npm.pkg.github.com" >> .npmrc
35+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
36+
3237
- name: Release
3338
env:
3439
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)