image: node:26 # Runner containers have no systemd, so scripts/with-memory-cap.sh cannot # enforce an RSS cap there and correctly refuses to run unbounded. These # builds are already isolated inside their own runner container (not the # host) and use the webpack builder; opt out explicitly on purpose. variables: CMS_MEMORY_CAP_BACKEND: "none" stages: - test - build cache: paths: - node_modules/ before_script: - corepack enable - pnpm install --frozen-lockfile lint: stage: test script: - pnpm run lint typecheck: stage: test script: - pnpm run typecheck test: stage: test script: - pnpm run test build: stage: build script: - pnpm run build