mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* 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
6 lines
409 B
Bash
Executable File
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"
|