Skip to content

Commit 1f15859

Browse files
committed
ci: try auth token in npmrc
1 parent a8abfd2 commit 1f15859

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ jobs:
102102
cache: pnpm
103103
registry-url: 'https://registry.npmjs.org'
104104

105+
- name: Configure npm authentication
106+
run: |
107+
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> ~/.npmrc
108+
105109
- name: Install Dependencies
106110
run: pnpm install --frozen-lockfile --prefer-offline
107111

0 commit comments

Comments
 (0)