👷 Improve Playwright CI speed: sharding (paralel runs), run in Docker to use cache, use env vars (#1405)
This commit is contained in:

committed by
GitHub

parent
d3d370cad0
commit
e684f3c8d6
13
frontend/Dockerfile.playwright
Normal file
13
frontend/Dockerfile.playwright
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM node:20
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json /app/
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npx -y playwright install --with-deps
|
||||
|
||||
COPY ./ /app/
|
||||
|
||||
ARG VITE_API_URL=${VITE_API_URL}
|
Reference in New Issue
Block a user