Skip to content

Commit 491cfec

Browse files
committed
new
Signed-off-by: TIANHE <[email protected]>
1 parent 5f6fd72 commit 491cfec

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/basic-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ jobs:
9292
# Project uses yarn (as specified in package.json packageManager field)
9393
# Enable corepack to use the correct yarn version
9494
corepack enable
95-
yarn install --frozen-lockfile
96-
# Use --frozen-lockfile to ensure reproducible builds and fail if lockfile is out of sync
97-
# HUSKY=0 prevents husky install from running (not needed in CI)
95+
# IMPORTANT: skip lifecycle scripts in CI to avoid running `prepare` (husky install),
96+
# which fails because `.git` is not present in GitHub Actions checkouts by default.
97+
yarn install --frozen-lockfile --ignore-scripts
98+
# Use --frozen-lockfile for reproducible installs. Use --ignore-scripts to keep CI non-intrusive.
9899
99100
- name: Frontend lint check
100101
working-directory: ./quantdinger_vue

0 commit comments

Comments
 (0)