Skip to content

Commit e7f157f

Browse files
authored
Merge pull request #30 from layer5io/copilot/fix-broken-workflow
Fix npm publish workflow auth failure for scoped package releases
2 parents ef3c8b7 + 4db52da commit e7f157f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
echo "Build New Package" >> $GITHUB_STEP_SUMMARY
6666
6767
- name: Publish Package
68+
env:
69+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6870
run: |
6971
set -e
7072
npm publish --provenance --access public --verbose
@@ -82,5 +84,3 @@ jobs:
8284
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
8385
token: ${{ secrets.GH_ACCESS_TOKEN }}
8486

85-
86-

0 commit comments

Comments
 (0)