fix(build): don't download Puppeteer when building for prod
This commit is contained in:
parent
f63c39a578
commit
95be0d1d32
@ -210,6 +210,7 @@ steps:
|
|||||||
from_secret: sentry_auth_token
|
from_secret: sentry_auth_token
|
||||||
SENTRY_ORG: vikunja
|
SENTRY_ORG: vikunja
|
||||||
SENTRY_PROJECT: frontend-oss
|
SENTRY_PROJECT: frontend-oss
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
commands:
|
commands:
|
||||||
- apk add git
|
- apk add git
|
||||||
- corepack enable && pnpm config set store-dir .cache/pnpm
|
- corepack enable && pnpm config set store-dir .cache/pnpm
|
||||||
|
@ -10,6 +10,7 @@ WORKDIR /build
|
|||||||
ARG USE_RELEASE=false
|
ARG USE_RELEASE=false
|
||||||
ARG RELEASE_VERSION=unstable
|
ARG RELEASE_VERSION=unstable
|
||||||
ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
ENV PNPM_CACHE_FOLDER .cache/pnpm/
|
||||||
|
ENV PUPPETEER_SKIP_DOWNLOAD true
|
||||||
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY pnpm-lock.yaml ./
|
COPY pnpm-lock.yaml ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user