// Browser e2e tier: runs only when web/ or service routes change (path-filtered). // Requires playwright browsers in the job image; enable after the browser // runner image exists (Luci extension item, see deploy/contract.md). job "browser" { image "mcr.microsoft.com/playwright:v1.58.0-noble" trigger { push { branch "trunk" include "web/**" include "src/service/**" } } cache "npm" { path ".npm-cache" key { file "package-lock.json" } } run "export NPM_CONFIG_CACHE=\"$PWD/.npm-cache\"" run "npm ci --prefer-offline" run "npm run build" run "npm run test:browser" }