From 38297b43fb978b446fdbaeb39da9b3883a50b5ac Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Tue, 24 Nov 2026 09:55:14 +0000 Subject: [PATCH] fix(ci): resolve vendored yarn binary by glob in docker tests Yarn 4.19.0 updated .yarn/releases and yarnPath, but Linux docker test jobs still invoked the removed yarn-4.18.1.cjs path. Co-authored-by: LongYinan --- .github/workflows/ci.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a8fdc2f5..c40bddf3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -388,7 +388,7 @@ jobs: image: node:${{ matrix.node }}-slim name: test-linux-x64-gnu-${{ matrix.node }} options: -v ${{ github.workspace }}:/build -w /build - args: node .yarn/releases/yarn-4.18.1.cjs test -s + args: sh -c "node .yarn/releases/yarn-*.cjs test -s" test-linux-x64-musl-binding: name: Test bindings on x86_64-unknown-linux-musl - node@${{ matrix.node }} @@ -433,8 +433,7 @@ jobs: image: node:${{ matrix.node }}-alpine name: test-linux-x64-musl-${{ matrix.node }} options: -v ${{ github.workspace }}:/build -w /build - args: | - node .yarn/releases/yarn-4.18.1.cjs test -s + args: sh -c "node .yarn/releases/yarn-*.cjs test -s" test-linux-aarch64-gnu-binding: name: Test bindings on aarch64-unknown-linux-gnu - node@${{ matrix.node }} @@ -471,7 +470,7 @@ jobs: image: node:${{ matrix.node }}-slim name: test-linux-aarch64-gnu-${{ matrix.node }} options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build - args: sh -c "set -e && node .yarn/releases/yarn-4.18.1.cjs test -s && ls -la" + args: sh -c "set -e && node .yarn/releases/yarn-*.cjs test -s && ls -la" test-linux-aarch64-musl-binding: name: Test bindings on aarch64-unknown-linux-musl - node@${{ matrix.node }} @@ -509,7 +508,7 @@ jobs: image: node:${{ matrix.node }}-alpine name: test-linux-aarch64-musl-${{ matrix.node }} options: --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build - args: sh -c "set -e && node .yarn/releases/yarn-4.18.1.cjs test -s" + args: sh -c "set -e && node .yarn/releases/yarn-*.cjs test -s" test-linux-arm-gnueabihf-binding: name: Test bindings on armv7-unknown-linux-gnueabihf - node@${{ matrix.node }} @@ -551,7 +550,7 @@ jobs: image: node:${{ matrix.node }}-bullseye-slim name: test-linux-arm-gnueabihf-${{ matrix.node }} options: --platform linux/arm/v7 -v ${{ github.workspace }}:/build -w /build - args: sh -c "set -e && node .yarn/releases/yarn-4.18.1.cjs test -s && ls -la" + args: sh -c "set -e && node .yarn/releases/yarn-*.cjs test -s && ls -la" test-wasi-nodejs: name: Test bindings on wasi - node@${{ matrix.node }}