Use only Chromium headless runtime for server browser checks
Advertiser console CI and test deployment / build-deploy (push) Failing after 7m15s
Advertiser console CI and test deployment / build-deploy (push) Failing after 7m15s
This commit is contained in:
+2
-2
@@ -5,10 +5,10 @@ RUN npm ci
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN npm run build
|
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
|
WORKDIR /app
|
||||||
COPY package*.json ./
|
COPY package*.json ./
|
||||||
RUN npm ci
|
RUN npm ci && npx playwright install --with-deps chromium --only-shell
|
||||||
COPY tests ./tests
|
COPY tests ./tests
|
||||||
COPY src/navigation.ts ./src/navigation.ts
|
COPY src/navigation.ts ./src/navigation.ts
|
||||||
COPY playwright.config.ts ./
|
COPY playwright.config.ts ./
|
||||||
|
|||||||
Reference in New Issue
Block a user