Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/famous-cameras-poke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

Install only Chromium for the benchmark smoke job; the full browser matrix remains in its dedicated portability job.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ jobs:
run: bun install --frozen-lockfile
- name: Install coverage toolchain
run: cargo install cargo-llvm-cov --version "$CARGO_LLVM_COV_VERSION" --locked
- name: Install benchmark browser
run: bun run browser:install
# `bench:verify` launches Chromium only; Firefox and WebKit are exercised
# separately by `browser-smoke`.
- name: Install Chromium for the render smoke
run: bun run browser:install:chromium
- name: Download canonical tarballs
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
with:
Expand Down
4 changes: 4 additions & 0 deletions scripts/workflow-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,10 @@ describe("CI and release workflow contracts", () => {
expect(commands(workflows().ci.jobs[jobName]!)).toContain("bun run browser:install:chromium");
}

const unitCoverageCommands = commands(workflows().ci.jobs["unit-coverage"]!).split("\n");
expect(unitCoverageCommands).toContain("bun run browser:install:chromium");
expect(unitCoverageCommands).not.toContain("bun run browser:install");

const projectByName = Object.fromEntries(
(playwrightConfig.projects ?? []).map((project) => [project.name, project]),
);
Expand Down
Loading