From 3dcd2fadabcf9963fa8294957c2ee89f0d42ccf1 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sun, 13 Sep 2026 06:26:03 +0000 Subject: [PATCH] fix(release): set up pnpm with pnpm/action-setup, not corepack, on the release runners The v3.10.1 linux build failed at the new install step while macOS passed it: `corepack enable` symlinks into /usr/local/bin, which the ubuntu runner user cannot write, and the macOS runner can. Use the same pnpm/action-setup + setup-node steps ci.yml already runs. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_018WGZpo8on6XLGYnccXV3dP --- .github/workflows/release.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5f14f5f..11f0d36 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -62,12 +62,18 @@ jobs: # build-release.sh stages only when it can build them. That takes pnpm and # the workspace's dev dependencies; without this step the stage is skipped # with a one-line note and every release ships without `sdk/`. + # Same setup ci.yml uses. Not corepack: `corepack enable` symlinks into + # /usr/local/bin, which the ubuntu runner user cannot write (EACCES), while + # the macOS runner can, so the linux build failed and macOS passed. + - uses: pnpm/action-setup@v6 + if: matrix.platform != 'windows' + - uses: actions/setup-node@v5 + if: matrix.platform != 'windows' + with: + node-version-file: .nvmrc - name: Install workspace (for the automation runtime) if: matrix.platform != 'windows' - run: | - corepack enable - corepack prepare pnpm@9.12.0 --activate - pnpm install --frozen-lockfile --filter @tronbrowser/sdk... + run: pnpm install --frozen-lockfile --filter @tronbrowser/sdk... - name: Package (linux/macos) if: matrix.platform != 'windows'