Skip to content

Commit 05fa024

Browse files
author
Filip
committed
ci(#23): fix 401 Unauthorized error when publishing to GitHub Packages
1 parent 55280ab commit 05fa024

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ on:
99
jobs:
1010
release:
1111
runs-on: ubuntu-latest
12+
1213
permissions:
1314
contents: write
1415
issues: write
1516
pull-requests: write
1617
packages: write
18+
1719
steps:
1820
- uses: actions/checkout@v6
1921
with:
@@ -28,5 +30,7 @@ jobs:
2830
env:
2931
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3032
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3134
NPM_CONFIG_REGISTRY: https://npm.pkg.github.com
35+
3236
run: npx semantic-release

0 commit comments

Comments
 (0)