Skip to content

Commit 16cef0f

Browse files
authored
Rename NPM token in CI (#37)
1 parent c21ea51 commit 16cef0f

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
@@ -68,19 +68,19 @@ jobs:
6868
- name: Setup Environment
6969
uses: ./.github/actions/setup
7070

71-
- name: Ensure NPM_TOKEN variable is set
71+
- name: Ensure SOLANA_PROGRAM_NPM_TOKEN variable is set
7272
env:
73-
token: ${{ secrets.NPM_TOKEN }}
73+
token: ${{ secrets.SOLANA_PROGRAM_NPM_TOKEN }}
7474
if: ${{ env.token == '' }}
7575
run: |
76-
echo "The NPM_TOKEN secret variable is not set"
76+
echo "The SOLANA_PROGRAM_NPM_TOKEN secret variable is not set"
7777
echo "Go to \"Settings\" -> \"Secrets and variables\" -> \"Actions\" -> \"New repository secret\"."
7878
exit 1
7979
8080
- name: NPM Authentication
8181
run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}"
8282
env:
83-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
83+
NODE_AUTH_TOKEN: ${{ secrets.SOLANA_PROGRAM_NPM_TOKEN }}
8484

8585
- name: Set Git Author
8686
run: |

0 commit comments

Comments
 (0)