Files
hyperframes/scripts/ci/install-pinned-headless-shell.sh
T
Miguel Ángel 56a2d0c53f fix(engine): a cached browser is used only when its files match the pinned build (#7865)
* fix(engine): a cached browser is used only when its files match the pinned build

* ci: install the pinned headless shell for the engine and producer test jobs

* ci: record the producer test job's new setup step for test reachability
2026-11-15 22:53:06 +00:00

6 lines
409 B
Bash
Executable File

#!/usr/bin/env bash
# The headless shell the engine pins, in Puppeteer's cache, so tests start it through the engine's own checked lookup.
set -euo pipefail
version=$(bun -e 'import { managedChromeVersion } from "./packages/engine/src/services/chromeHostCeiling.ts"; console.log(managedChromeVersion())')
bunx @puppeteer/browsers@3.2.2 install "chrome-headless-shell@$version" --path "$HOME/.cache/puppeteer"