12# CI for src.rest. It runs the test job of the release workflow: cargo test,3# npm run check:web and the Playwright tests in npm run test:web.4set -eu5# Keep the Cargo build outside the worktree, so each run does not compile6# every dependency from source again.7export CARGO_TARGET_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/devsite/target"8npm ci --no-audit --no-fund9npx --no-install playwright install chromium10cargo test --workspace --locked11npm run check:web12npm run test:web