Skip to content

Commit 032463d

Browse files
committed
chore(ci): fake authentication for verdaccio
1 parent b92efda commit 032463d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci-supabase-js.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ jobs:
158158
npx verdaccio --config .verdaccio/config.yml &
159159
sleep 3
160160
161+
- name: Configure npm auth for Verdaccio
162+
run: npm config set //localhost:4873/:_authToken "secretVerdaccioToken"
163+
161164
- name: Publish packages to Verdaccio
162165
run: node scripts/populate-verdaccio.mjs
163166

@@ -309,6 +312,9 @@ jobs:
309312
npx verdaccio --config .verdaccio/config.yml &
310313
sleep 3
311314
315+
- name: Configure npm auth for Verdaccio
316+
run: npm config set //localhost:4873/:_authToken "secretVerdaccioToken"
317+
312318
- name: Publish packages to Verdaccio
313319
run: node scripts/populate-verdaccio.mjs
314320

@@ -382,6 +388,9 @@ jobs:
382388
npx verdaccio --config .verdaccio/config.yml &
383389
sleep 3
384390
391+
- name: Configure npm auth for Verdaccio
392+
run: npm config set //localhost:4873/:_authToken "secretVerdaccioToken"
393+
385394
- name: Publish packages to Verdaccio
386395
run: node scripts/populate-verdaccio.mjs
387396

@@ -456,6 +465,9 @@ jobs:
456465
npx verdaccio --config .verdaccio/config.yml &
457466
sleep 3
458467
468+
- name: Configure npm auth for Verdaccio
469+
run: npm config set //localhost:4873/:_authToken "secretVerdaccioToken"
470+
459471
- name: Publish packages to Verdaccio
460472
run: node scripts/populate-verdaccio.mjs
461473

0 commit comments

Comments
 (0)