feat/e2e-testing (#31)
All checks were successful
🚀 Release / release (push) Successful in 4m7s

Reviewed-on: #31
Co-authored-by: Max Richter <max@max-richter.dev>
Co-committed-by: Max Richter <max@max-richter.dev>
This commit was merged in pull request #31.
This commit is contained in:
2026-02-03 22:29:43 +01:00
committed by max_richter
parent 01f1568221
commit 91866b4e9a
37 changed files with 1262 additions and 112 deletions

View File

@@ -1,13 +1,22 @@
FROM node:24-alpine
# FROM jacoblincool/playwright:chromium-light
FROM jacoblincool/playwright:firefox
# Install all required packages in one layer
RUN apk add --no-cache curl git jq g++ make
# RUN apk add --no-cache curl git jq g++ make
RUN apt update && apt install -y curl git jq g++ make \
libgl1-mesa-dri \
libglapi-mesa \
libosmesa6 \
mesa-utils \
xvfb \
&& rm -rf /var/lib/apt/lists/*
# Set Rust paths
ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
# Install Rust, wasm target, and pnpm
RUN curl --silent --show-error --location --fail --retry 3 \
--proto '=https' --tlsv1.2 \
@@ -16,4 +25,5 @@ RUN curl --silent --show-error --location --fail --retry 3 \
&& rm /tmp/rustup-init.sh \
&& rustup target add wasm32-unknown-unknown \
&& rm -rf /usr/local/rustup/toolchains/*/share/doc \
&& npm i -g pnpm
&& npm i -g pnpm \
&& pnpx playwright install firefox