Skip to content

Commit e3cafe1

Browse files
committed
speed up merge reports
1 parent 6734afe commit e3cafe1

File tree

3 files changed

+8
-17
lines changed

3 files changed

+8
-17
lines changed

.github/workflows/unit-tests-internal.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,14 @@ jobs:
116116
uses: buildjet/setup-node@v4
117117
with:
118118
node-version: 20.11.1
119-
cache: "pnpm"
120-
121-
- name: 📥 Download deps
122-
run: pnpm install --frozen-lockfile
119+
# no cache enabled, we're not installing deps
123120

124121
- name: Download blob reports from GitHub Actions Artifacts
125122
uses: actions/download-artifact@v4
126123
with:
127124
path: .vitest-reports
128-
pattern: internal-blob-report-*
125+
pattern: webapp-blob-report-*
129126
merge-multiple: true
130127

131128
- name: Merge reports
132-
run: npx vitest run --merge-reports
129+
run: pnpm dlx vitest run --merge-reports

.github/workflows/unit-tests-packages.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,17 +116,14 @@ jobs:
116116
uses: buildjet/setup-node@v4
117117
with:
118118
node-version: 20.11.1
119-
cache: "pnpm"
120-
121-
- name: 📥 Download deps
122-
run: pnpm install --frozen-lockfile
119+
# no cache enabled, we're not installing deps
123120

124121
- name: Download blob reports from GitHub Actions Artifacts
125122
uses: actions/download-artifact@v4
126123
with:
127124
path: .vitest-reports
128-
pattern: packages-blob-report-*
125+
pattern: webapp-blob-report-*
129126
merge-multiple: true
130127

131128
- name: Merge reports
132-
run: npx vitest run --merge-reports
129+
run: pnpm dlx vitest run --merge-reports

.github/workflows/unit-tests-webapp.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,7 @@ jobs:
122122
uses: buildjet/setup-node@v4
123123
with:
124124
node-version: 20.11.1
125-
cache: "pnpm"
126-
127-
- name: 📥 Download deps
128-
run: pnpm install --frozen-lockfile
125+
# no cache enabled, we're not installing deps
129126

130127
- name: Download blob reports from GitHub Actions Artifacts
131128
uses: actions/download-artifact@v4
@@ -135,4 +132,4 @@ jobs:
135132
merge-multiple: true
136133

137134
- name: Merge reports
138-
run: npx vitest run --merge-reports
135+
run: pnpm dlx vitest run --merge-reports

0 commit comments

Comments
 (0)