Skip to content

Commit 98918af

Browse files
committed
fix github actions
1 parent 247362a commit 98918af

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
uses: actions/setup-node@v2
1414
with:
1515
node-version: '14'
16+
- name: "Setup npm"
17+
run: |
18+
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
1619
- name: Install packages
1720
run: |
1821
npm ci

.github/workflows/on-push.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
uses: actions/setup-node@v2
1515
with:
1616
node-version: '14'
17+
- name: "Setup npm"
18+
run: |
19+
npm set "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
1720
- name: Install packages
1821
run: |
1922
npm ci

0 commit comments

Comments
 (0)