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:
6
.github/workflows/style-check.yml
vendored
6
.github/workflows/style-check.yml
vendored
@@ -21,6 +21,8 @@ jobs:
|
||||
cache: 'yarn'
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: true
|
||||
- name: Build Packages
|
||||
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
|
||||
- name: Eslint Check
|
||||
@@ -72,6 +74,8 @@ jobs:
|
||||
cache: 'yarn'
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: true
|
||||
- name: Prettier Check
|
||||
run: yarn prettier --check '**/*.{ts,md}'
|
||||
|
||||
@@ -94,6 +98,8 @@ jobs:
|
||||
cache: 'yarn'
|
||||
- name: Install Dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
env:
|
||||
PUPPETEER_SKIP_DOWNLOAD: true
|
||||
- name: Prettify Code
|
||||
run: yarn prettier --write '**/*.{ts,md}'
|
||||
- name: Commit Changes
|
||||
|
||||
Reference in New Issue
Block a user