Skip to content

Commit b92efda

Browse files
committed
chore(ci): keep verdaccio available
1 parent 0c3bf13 commit b92efda

File tree

1 file changed

+28
-8
lines changed

1 file changed

+28
-8
lines changed

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

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,13 @@ jobs:
153153
- name: Install dependencies
154154
run: npm ci --legacy-peer-deps
155155

156-
- name: Start Verdaccio and publish packages
157-
run: npx nx populate-local-registry
156+
- name: Start Verdaccio
157+
run: |
158+
npx verdaccio --config .verdaccio/config.yml &
159+
sleep 3
160+
161+
- name: Publish packages to Verdaccio
162+
run: node scripts/populate-verdaccio.mjs
158163

159164
- name: Start Supabase and apply migrations
160165
run: |
@@ -299,8 +304,13 @@ jobs:
299304
- name: Install dependencies
300305
run: npm ci --legacy-peer-deps
301306

302-
- name: Start Verdaccio and publish packages
303-
run: npx nx populate-local-registry
307+
- name: Start Verdaccio
308+
run: |
309+
npx verdaccio --config .verdaccio/config.yml &
310+
sleep 3
311+
312+
- name: Publish packages to Verdaccio
313+
run: node scripts/populate-verdaccio.mjs
304314

305315
- name: Start Supabase and apply migrations
306316
run: |
@@ -367,8 +377,13 @@ jobs:
367377
- name: Install dependencies
368378
run: npm ci --legacy-peer-deps
369379

370-
- name: Start Verdaccio and publish packages
371-
run: npx nx populate-local-registry
380+
- name: Start Verdaccio
381+
run: |
382+
npx verdaccio --config .verdaccio/config.yml &
383+
sleep 3
384+
385+
- name: Publish packages to Verdaccio
386+
run: node scripts/populate-verdaccio.mjs
372387

373388
- name: Start Supabase and apply migrations
374389
run: |
@@ -436,8 +451,13 @@ jobs:
436451
- name: Install dependencies
437452
run: npm ci --legacy-peer-deps
438453

439-
- name: Start Verdaccio and publish packages
440-
run: npx nx populate-local-registry
454+
- name: Start Verdaccio
455+
run: |
456+
npx verdaccio --config .verdaccio/config.yml &
457+
sleep 3
458+
459+
- name: Publish packages to Verdaccio
460+
run: node scripts/populate-verdaccio.mjs
441461

442462
- name: Start Supabase and apply migrations
443463
run: |

0 commit comments

Comments
 (0)