Skip to content

Commit ba84e07

Browse files
ci(node): fix release for npm-gpr (#564)
1 parent 8702833 commit ba84e07

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/__call-update-npm.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ jobs:
3333
- name: Checkout
3434
uses: actions/checkout@v6
3535

36+
- name: Setup token
37+
env:
38+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
run: |
40+
if [[ "${{ matrix.environment }}" == "npm-gpr" ]]; then
41+
echo "NODE_AUTH_TOKEN=${GH_TOKEN}" >> "${GITHUB_ENV}"
42+
fi
43+
3644
- name: Setup node
3745
uses: actions/setup-node@v6
3846
with:

0 commit comments

Comments
 (0)