mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-11-02 00:14:23 +00:00
ci: run the integration suite in the playwright image that matches the installed version
This commit is contained in:
@@ -28,7 +28,10 @@ set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
INTEGRATION_DIR="${REPO_ROOT}/integration"
|
||||
PW_IMAGE="mcr.microsoft.com/playwright:v1.59.1-noble"
|
||||
# The image's browsers only work with the same Playwright version, so take
|
||||
# the tag from the one npm installed.
|
||||
PW_VERSION="$(cd "${REPO_ROOT}" && node -p "require('@playwright/test/package.json').version")"
|
||||
PW_IMAGE="mcr.microsoft.com/playwright:v${PW_VERSION}-noble"
|
||||
# Read by docker-compose.yml as the stalwart build argument.
|
||||
export STALWART_IMAGE="${STALWART_IMAGE:-stalwartlabs/stalwart:v0.16}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user