Skip to content

Commit a6bce49

Browse files
committed
Add the NPM token to the workflows.
1 parent f863fe2 commit a6bce49

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535

3636
- name: Install dependencies
3737
run: npm ci --prefer-offline --no-audit
38+
env:
39+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
3841

3942
- name: Run ESLint
4043
run: npm run lint

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ jobs:
5959
# Let that happen in other jobs, this job needs to be fast
6060
- name: npm ci
6161
run: npm ci --ignore-scripts --prefer-offline --no-audit
62+
env:
63+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6264

6365
- name: npm run postinstall
6466
run: npm run postinstall

.github/workflows/deps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
- name: Install dependencies
3535
run: npm ci --prefer-offline --no-audit
36+
env:
37+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3638

3739
- name: Run security audit
3840
run: npm audit --json > audit-report.json || true

0 commit comments

Comments
 (0)