From cd2c3480381654defee80b68c0ec4239440768c4 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 22 Feb 2024 19:29:56 +0000 Subject: [PATCH] build: Stop downloading puppeteer in github actions --- .github/workflows/main.yml | 2 ++ docker/Dockerfile | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28bb13fb..b3aa0604 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,8 @@ jobs: cache: "yarn" cache-dependency-path: "yarn.lock" - name: Install deps + env: + PUPPETEER_SKIP_DOWNLOAD: true run: yarn install --immutable - name: Lint run: yarn lint diff --git a/docker/Dockerfile b/docker/Dockerfile index 0e587790..f3a8c320 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -13,6 +13,7 @@ COPY packages/shared packages/shared COPY package.json yarn.lock .yarnrc.yml . ENV NEXT_TELEMETRY_DISABLED 1 +ENV PUPPETEER_SKIP_DOWNLOAD true RUN corepack enable && \ cd /app/packages/db && \