From 491cfece81673f38bfc5583bac630de76dfdc5b0 Mon Sep 17 00:00:00 2001 From: TIANHE Date: Tue, 6 Jan 2026 04:09:26 +0800 Subject: [PATCH] new Signed-off-by: TIANHE --- .github/workflows/basic-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/basic-ci.yml b/.github/workflows/basic-ci.yml index 2d478d4..ae6a889 100644 --- a/.github/workflows/basic-ci.yml +++ b/.github/workflows/basic-ci.yml @@ -92,9 +92,10 @@ jobs: # Project uses yarn (as specified in package.json packageManager field) # Enable corepack to use the correct yarn version corepack enable - yarn install --frozen-lockfile - # Use --frozen-lockfile to ensure reproducible builds and fail if lockfile is out of sync - # HUSKY=0 prevents husky install from running (not needed in CI) + # IMPORTANT: skip lifecycle scripts in CI to avoid running `prepare` (husky install), + # which fails because `.git` is not present in GitHub Actions checkouts by default. + yarn install --frozen-lockfile --ignore-scripts + # Use --frozen-lockfile for reproducible installs. Use --ignore-scripts to keep CI non-intrusive. - name: Frontend lint check working-directory: ./quantdinger_vue