fix(build): don't download Puppeteer when building for prod

This commit is contained in:
kolaente 2023-09-04 13:07:48 +02:00
parent f63c39a578
commit 95be0d1d32
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
2 changed files with 2 additions and 0 deletions

View File

@ -210,6 +210,7 @@ steps:
from_secret: sentry_auth_token
SENTRY_ORG: vikunja
SENTRY_PROJECT: frontend-oss
PUPPETEER_SKIP_DOWNLOAD: true
commands:
- apk add git
- corepack enable && pnpm config set store-dir .cache/pnpm

View File

@ -10,6 +10,7 @@ WORKDIR /build
ARG USE_RELEASE=false
ARG RELEASE_VERSION=unstable
ENV PNPM_CACHE_FOLDER .cache/pnpm/
ENV PUPPETEER_SKIP_DOWNLOAD true
COPY package.json ./
COPY pnpm-lock.yaml ./