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:
2
.changeset/rich-scissors-hide.md
Normal file
2
.changeset/rich-scissors-hide.md
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
---
|
||||||
12
.github/workflows/ci-cd.yml
vendored
12
.github/workflows/ci-cd.yml
vendored
@@ -25,6 +25,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
env:
|
||||||
|
PUPPETEER_DOWNLOAD_BASE_URL: 'https://storage.googleapis.com/chrome-for-testing-public'
|
||||||
|
|
||||||
- name: Build Project
|
- name: Build Project
|
||||||
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
|
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
|
||||||
@@ -39,10 +41,12 @@ jobs:
|
|||||||
- name: Check bundle sizes
|
- name: Check bundle sizes
|
||||||
uses: preactjs/compressed-size-action@v2
|
uses: preactjs/compressed-size-action@v2
|
||||||
with:
|
with:
|
||||||
install-script: "yarn install --frozen-lockfile"
|
install-script: 'yarn install --frozen-lockfile'
|
||||||
build-script: "build:all"
|
build-script: 'build:all'
|
||||||
compression: "none"
|
compression: 'none'
|
||||||
pattern: "**/dist/*.{js,cjs,mjs,css}"
|
pattern: '**/dist/*.{js,cjs,mjs,css}'
|
||||||
|
env:
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
|
|
||||||
- name: Upload diff images to GitHub
|
- name: Upload diff images to GitHub
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|||||||
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -22,6 +22,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
env:
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
|
|
||||||
- name: Create Release Pull Request or Publish to npm
|
- name: Create Release Pull Request or Publish to npm
|
||||||
id: changesets
|
id: changesets
|
||||||
|
|||||||
6
.github/workflows/style-check.yml
vendored
6
.github/workflows/style-check.yml
vendored
@@ -21,6 +21,8 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
env:
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
|
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
|
||||||
- name: Eslint Check
|
- name: Eslint Check
|
||||||
@@ -72,6 +74,8 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
env:
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
- name: Prettier Check
|
- name: Prettier Check
|
||||||
run: yarn prettier --check '**/*.{ts,md}'
|
run: yarn prettier --check '**/*.{ts,md}'
|
||||||
|
|
||||||
@@ -94,6 +98,8 @@ jobs:
|
|||||||
cache: 'yarn'
|
cache: 'yarn'
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
env:
|
||||||
|
PUPPETEER_SKIP_DOWNLOAD: true
|
||||||
- name: Prettify Code
|
- name: Prettify Code
|
||||||
run: yarn prettier --write '**/*.{ts,md}'
|
run: yarn prettier --write '**/*.{ts,md}'
|
||||||
- name: Commit Changes
|
- name: Commit Changes
|
||||||
|
|||||||
Reference in New Issue
Block a user