Skip to content

Commit 58ff78f

Browse files
committed
Set NPM_TOKEN in github workflow
1 parent 5b786ca commit 58ff78f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build-push-deploy.yml

+6
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,21 @@ jobs:
1818
with:
1919
node-version: 20
2020
cache: yarn
21+
env:
22+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2123

2224
- name: Install dependencies
2325
run: |
2426
yarn config set network-timeout 300000
2527
yarn install --prefer-offline
28+
env:
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2630

2731
- name: Build
2832
continue-on-error: false
2933
run: yarn build
34+
env:
35+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
3036

3137
- name: Upload artifact
3238
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)