Use only Chromium headless runtime for server browser checks
Advertiser console CI and test deployment / build-deploy (push) Failing after 7m15s

This commit is contained in:
2026-09-16 15:06:09 +08:00
parent d64eb72ff2
commit 808ce95761
+2 -2
View File
@@ -5,10 +5,10 @@ RUN npm ci
COPY . .
RUN npm run build
FROM mcr.microsoft.com/playwright:v1.58.2-noble AS browser-tests
FROM node:22-bookworm-slim AS browser-tests
WORKDIR /app
COPY package*.json ./
RUN npm ci
RUN npm ci && npx playwright install --with-deps chromium --only-shell
COPY tests ./tests
COPY src/navigation.ts ./src/navigation.ts
COPY playwright.config.ts ./