Skip to content

Commit c76d293

Browse files
committed
fix test workflow
1 parent 39f1d68 commit c76d293

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/unit-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,19 @@ jobs:
8080
run: pnpm run generate
8181

8282
- name: 🧪 Run Webapp Unit Tests
83-
run: pnpm run test:webapp -- --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
83+
run: pnpm run test:webapp --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
8484
env:
8585
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
8686
DIRECT_URL: postgresql://postgres:postgres@localhost:5432/postgres
8787
SESSION_SECRET: "secret"
8888
MAGIC_LINK_SECRET: "secret"
8989
ENCRYPTION_KEY: "secret"
90-
90+
9191
- name: 🧪 Run Package Unit Tests
92-
run: pnpm run test:packages -- --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
93-
92+
run: pnpm run test:packages --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
93+
9494
- name: 🧪 Run Internal Unit Tests
95-
run: pnpm run test:internal -- --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
95+
run: pnpm run test:internal --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
9696

9797
- name: Upload blob report to GitHub Actions Artifacts
9898
if: ${{ !cancelled() }}
@@ -135,4 +135,4 @@ jobs:
135135
merge-multiple: true
136136

137137
- name: Merge reports
138-
run: npx vitest --merge-reports
138+
run: npx vitest run --merge-reports

0 commit comments

Comments
 (0)