mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-14 13:53:29 +08:00
fix(ci): remove --ignore-engines for Yarn Berry (v4+)
Yarn Berry removed the --ignore-engines flag; engine checking is no longer a core feature. The deprecated flag causes yarn install to exit with error code 1.
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -131,8 +131,8 @@ jobs:
|
|||||||
case "${{ matrix.pm }}" in
|
case "${{ matrix.pm }}" in
|
||||||
npm) npm ci ;;
|
npm) npm ci ;;
|
||||||
pnpm) pnpm install --no-frozen-lockfile ;;
|
pnpm) pnpm install --no-frozen-lockfile ;;
|
||||||
# --ignore-engines required for Node 18 compat with some devDependencies (e.g., markdownlint-cli)
|
# Yarn Berry (v4+) removed --ignore-engines; engine checking is no longer a core feature
|
||||||
yarn) yarn install --ignore-engines ;;
|
yarn) yarn install ;;
|
||||||
bun) bun install ;;
|
bun) bun install ;;
|
||||||
*) echo "Unsupported package manager: ${{ matrix.pm }}" && exit 1 ;;
|
*) echo "Unsupported package manager: ${{ matrix.pm }}" && exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
3
.github/workflows/reusable-test.yml
vendored
3
.github/workflows/reusable-test.yml
vendored
@@ -121,7 +121,8 @@ jobs:
|
|||||||
case "${{ inputs.package-manager }}" in
|
case "${{ inputs.package-manager }}" in
|
||||||
npm) npm ci ;;
|
npm) npm ci ;;
|
||||||
pnpm) pnpm install --no-frozen-lockfile ;;
|
pnpm) pnpm install --no-frozen-lockfile ;;
|
||||||
yarn) yarn install --ignore-engines ;;
|
# Yarn Berry (v4+) removed --ignore-engines; engine checking is no longer a core feature
|
||||||
|
yarn) yarn install ;;
|
||||||
bun) bun install ;;
|
bun) bun install ;;
|
||||||
*) echo "Unsupported package manager: ${{ inputs.package-manager }}" && exit 1 ;;
|
*) echo "Unsupported package manager: ${{ inputs.package-manager }}" && exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Reference in New Issue
Block a user