Skip to content

Commit 8ac7a31

Browse files
committed
Add gh token
1 parent 91cd13b commit 8ac7a31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/version-and-publish-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
echo "needs_bump=false" >> $GITHUB_OUTPUT
9595
fi
9696
env:
97-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
97+
GH_NPM_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9898

9999
- name: Bump version if needed
100100
id: bump_version
@@ -126,7 +126,7 @@ jobs:
126126
npm publish
127127
echo "published=true" >> $GITHUB_OUTPUT
128128
env:
129-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
129+
GH_NPM_REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130130

131131
- name: Commit version changes
132132
if: steps.bump_version.outputs.bumped == 'true'

0 commit comments

Comments
 (0)