Enable NPM token configuration in build workflow
This commit is contained in:
@@ -39,11 +39,11 @@ jobs:
|
||||
node-version: 22.x
|
||||
cache: yarn
|
||||
|
||||
# - name: Configure NPM token
|
||||
# env:
|
||||
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
# run: |
|
||||
# npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
- name: Configure NPM token
|
||||
env:
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
run: |
|
||||
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
|
||||
|
||||
- name: yarn install
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user