Skip to content

Commit

Permalink
build: Stop downloading puppeteer in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Feb 22, 2024
1 parent dc65286 commit cd2c348
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit cd2c348

Please sign in to comment.