Skip to content

Commit 88bc730

Browse files
committed
chore(ci): update ci
1 parent ba36c54 commit 88bc730

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,8 @@ jobs:
7373
- name: Install dependencies
7474
run: npm ci --legacy-peer-deps
7575

76-
- name: Type Check
77-
run: npx nx test:types supabase-js
78-
79-
- name: Run Unit Tests + Coverage
80-
run: npx nx test:coverage supabase-js
76+
- name: Type Check + Unit Tests + Coverage
77+
run: npx nx run-many --targets=test:types,test:coverage --projects=supabase-js
8178

8279
- name: Upload coverage results to Coveralls
8380
uses: coverallsapp/github-action@v2
@@ -207,7 +204,7 @@ jobs:
207204
if: ${{ matrix.deno == '2.x' }}
208205
run: |
209206
cd packages/core/supabase-js/test/deno
210-
npx nx test:edge-functions supabase-js
207+
npm run test:edge-functions
211208
cd ../../..
212209
213210
- name: Stop Supabase
@@ -332,9 +329,6 @@ jobs:
332329
echo "Verifying storage bucket exists"
333330
supabase db query "select id, name from storage.buckets where id = 'test-bucket';"
334331
335-
- name: Install Playwright browsers and dependencies
336-
run: npx playwright install --with-deps
337-
338332
- name: Verify packages in Verdaccio
339333
run: |
340334
echo "Verifying @supabase/supabase-js is available in Verdaccio..."
@@ -349,7 +343,7 @@ jobs:
349343
cd "$TEST_DIR"
350344
echo "registry=http://localhost:4873/" > .npmrc
351345
npm install --legacy-peer-deps
352-
npx playwright install
346+
npx playwright install --with-deps
353347
npm run test
354348
rm -f .npmrc
355349

0 commit comments

Comments
 (0)