Files
n30nex 932d176b9c 0.12.4: preserve the qualified graphics stack and security fixes
* fix: retain the qualified graphics stack for maintenance release

* chore: record Actions-resolved qualified graphics dependencies

* test: retain the complete terrain-control validation sequence
2026-10-26 21:07:42 -04:00

14 lines
777 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# The same Actions suites and limits, with exact browser dependencies already
# installed. Avoid slow package mirrors on ephemeral hosted runners.
test "${GITHUB_ACTIONS:-}" = true
test "$(node -p "require('./node_modules/@playwright/test/package.json').version")" = 1.61.1
root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
image='mcr.microsoft.com/playwright:v1.61.1-noble@sha256:5b8f294aff9041b7191c34a4bab3ac270157a28774d4b0660e9743297b697e48'
exec docker run --rm --init --ipc=host --network=host \
--mount "type=bind,source=$root,target=/work" --workdir /work/web \
--env CI=true --env CARTOLITE_BASE_URL --env PLAYWRIGHT_HTML_OUTPUT_DIR --env CARTOLITE_PROFILE_ROUTES \
"$image" ./node_modules/.bin/playwright test "$@"