Skip to content

Commit 0cbccfa

Browse files
committed
Rename NPM_TOKEN in JS client publish workflow
1 parent 3b990b6 commit 0cbccfa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-js-client.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ jobs:
6767
with:
6868
pnpm: true
6969

70-
- name: Ensure NPM_TOKEN variable is set
70+
- name: Ensure SOLANA_PROGRAM_NPM_TOKEN variable is set
7171
env:
72-
token: ${{ secrets.NPM_TOKEN }}
72+
token: ${{ secrets.SOLANA_PROGRAM_NPM_TOKEN }}
7373
if: ${{ env.token == '' }}
7474
run: |
75-
echo "The NPM_TOKEN secret variable is not set"
75+
echo "The SOLANA_PROGRAM_NPM_TOKEN secret variable is not set"
7676
echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
7777
exit 1
7878
7979
- name: NPM Authentication
8080
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
8181
env:
82-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
82+
NODE_AUTH_TOKEN: ${{ secrets.SOLANA_PROGRAM_NPM_TOKEN }}
8383

8484
- name: Set Git Author
8585
run: |

0 commit comments

Comments
 (0)