Skip to content

Commit f44f210

Browse files
Copilotleecalcote
andcommitted
fix: publish package with npm token instead of provenance flow
Co-authored-by: leecalcote <7570704+leecalcote@users.noreply.github.com>
1 parent 7049941 commit f44f210

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/publish-package.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,11 @@ 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
70-
npm publish --provenance --access public --verbose
72+
npm publish --access public --verbose
7173
7274
- name: Pull changes from remote
7375
run: git pull origin master
@@ -83,4 +85,3 @@ jobs:
8385
token: ${{ secrets.GH_ACCESS_TOKEN }}
8486

8587

86-

0 commit comments

Comments
 (0)