Skip to content

Commit 4db9782

Browse files
authored
fix: CI hangs forever in the yarn [4/4] Building fresh packages... (#1696)
* fix: CI hang forever in the yarn [4/4] Building fresh packages...
1 parent fd9d274 commit 4db9782

File tree

4 files changed

+18
-4
lines changed

4 files changed

+18
-4
lines changed

.changeset/rich-scissors-hide.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/ci-cd.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525

2626
- name: Install Dependencies
2727
run: yarn install --frozen-lockfile
28+
env:
29+
PUPPETEER_DOWNLOAD_BASE_URL: 'https://storage.googleapis.com/chrome-for-testing-public'
2830

2931
- name: Build Project
3032
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
@@ -39,10 +41,12 @@ jobs:
3941
- name: Check bundle sizes
4042
uses: preactjs/compressed-size-action@v2
4143
with:
42-
install-script: "yarn install --frozen-lockfile"
43-
build-script: "build:all"
44-
compression: "none"
45-
pattern: "**/dist/*.{js,cjs,mjs,css}"
44+
install-script: 'yarn install --frozen-lockfile'
45+
build-script: 'build:all'
46+
compression: 'none'
47+
pattern: '**/dist/*.{js,cjs,mjs,css}'
48+
env:
49+
PUPPETEER_SKIP_DOWNLOAD: true
4650

4751
- name: Upload diff images to GitHub
4852
uses: actions/upload-artifact@v4

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222

2323
- name: Install Dependencies
2424
run: yarn install --frozen-lockfile
25+
env:
26+
PUPPETEER_SKIP_DOWNLOAD: true
2527

2628
- name: Create Release Pull Request or Publish to npm
2729
id: changesets

.github/workflows/style-check.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
cache: 'yarn'
2222
- name: Install Dependencies
2323
run: yarn install --frozen-lockfile
24+
env:
25+
PUPPETEER_SKIP_DOWNLOAD: true
2426
- name: Build Packages
2527
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
2628
- name: Eslint Check
@@ -72,6 +74,8 @@ jobs:
7274
cache: 'yarn'
7375
- name: Install Dependencies
7476
run: yarn install --frozen-lockfile
77+
env:
78+
PUPPETEER_SKIP_DOWNLOAD: true
7579
- name: Prettier Check
7680
run: yarn prettier --check '**/*.{ts,md}'
7781

@@ -94,6 +98,8 @@ jobs:
9498
cache: 'yarn'
9599
- name: Install Dependencies
96100
run: yarn install --frozen-lockfile
101+
env:
102+
PUPPETEER_SKIP_DOWNLOAD: true
97103
- name: Prettify Code
98104
run: yarn prettier --write '**/*.{ts,md}'
99105
- name: Commit Changes

0 commit comments

Comments
 (0)