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...
This commit is contained in:
Yun Feng
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 241ca72f0e
commit 5055db8fd0
4 changed files with 18 additions and 4 deletions

View File

@@ -25,6 +25,8 @@ jobs:
- name: Install Dependencies
run: yarn install --frozen-lockfile
env:
PUPPETEER_DOWNLOAD_BASE_URL: 'https://storage.googleapis.com/chrome-for-testing-public'
- name: Build Project
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
@@ -39,10 +41,12 @@ jobs:
- name: Check bundle sizes
uses: preactjs/compressed-size-action@v2
with:
install-script: "yarn install --frozen-lockfile"
build-script: "build:all"
compression: "none"
pattern: "**/dist/*.{js,cjs,mjs,css}"
install-script: 'yarn install --frozen-lockfile'
build-script: 'build:all'
compression: 'none'
pattern: '**/dist/*.{js,cjs,mjs,css}'
env:
PUPPETEER_SKIP_DOWNLOAD: true
- name: Upload diff images to GitHub
uses: actions/upload-artifact@v4