ci: install Chromium for frontend prerender
Some checks failed
Tests / Backend - Tests skipped: 8, passed: 74
THE-TIP-TOP-MULTIBRANCH/pipeline/head There was a failure building this commit

This commit is contained in:
2026-09-17 19:15:43 +00:00
parent 279a071a15
commit 4c2849611f

3
Jenkinsfile vendored
View File

@@ -164,6 +164,8 @@ pipeline {
-w "${WORKSPACE}/backend" \ -w "${WORKSPACE}/backend" \
node:22-alpine \ node:22-alpine \
sh -c " sh -c "
apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont &&
npm ci --prefer-offline --no-audit --no-fund && npm ci --prefer-offline --no-audit --no-fund &&
npx prisma generate && npx prisma generate &&
npx prisma migrate deploy && npx prisma migrate deploy &&
@@ -230,6 +232,7 @@ pipeline {
-w "${WORKSPACE}/frontend" \ -w "${WORKSPACE}/frontend" \
node:22-alpine \ node:22-alpine \
sh -c " sh -c "
apk add --no-cache chromium nss freetype harfbuzz ca-certificates ttf-freefont &&
npm ci --prefer-offline --no-audit --no-fund && npm ci --prefer-offline --no-audit --no-fund &&
npm run lint && npm run lint &&
npm run test:coverage && npm run test:coverage &&