mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-14 17:04:09 +00:00
438b689cfa
* Browser testing with aegir * Support onlyDial * Bump timeout for browser tests * Support webtransport browser test * PR comments * Tweak * Handle cases where the listener exits before dialer * Remove debug code * Bump node version * Prewarm with playwright install * Support extra timeouts when running against node or browser * Add timeout option to rust and js
22 lines
358 B
Plaintext
22 lines
358 B
Plaintext
# syntax=docker/dockerfile:1
|
|
|
|
FROM mcr.microsoft.com/playwright
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
COPY package*.json .
|
|
|
|
RUN npm ci
|
|
|
|
# Install browsers
|
|
RUN ./node_modules/.bin/playwright install
|
|
|
|
COPY tsconfig.json .
|
|
COPY .aegir.js .
|
|
COPY test ./test
|
|
COPY src ./src
|
|
|
|
RUN npm run build
|
|
|
|
ENTRYPOINT [ "npm", "test", "--", "--build", "false", "--types", "false", "-t", "browser" ] |