From faf3ced3f757405c68f83079be6396c0e18afb3e Mon Sep 17 00:00:00 2001 From: Chris Tate Date: Tue, 20 Oct 2026 16:50:41 -0500 Subject: [PATCH] Install tsc-ts's platform packages for every release target The darwin-arm64, linux-x64-musl and linux-arm64-musl CLI builds failed with "tsc-ts checker: ... has no @tsc-ts/ executable": - The lockfile had no entry for @tsc-ts/darwin-arm64@0.0.5, so the darwin-arm64 install skipped it. The lockfile now lists all seven platform packages. - A CLI ships the tsc-ts executable of its target. The musl builds run on glibc runners, where pnpm installs only the glibc packages. Those jobs now add musl to pnpm's supported libc before installing. --- .github/workflows/release.yml | 6 ++++++ pnpm-lock.yaml | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47329cc28..fff1931ae 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -219,6 +219,12 @@ jobs: Move-Item "$expanded\clang+llvm-22.1.8-x86_64-pc-windows-msvc" $llvm echo "LLVM_DIR=$llvm\lib\cmake\llvm" >> $env:GITHUB_ENV echo "$llvm\bin" >> $env:GITHUB_PATH + # A musl CLI ships tsc-ts's musl executable, and these jobs run on glibc + # runners, where pnpm installs only the glibc platform packages. + - name: Let pnpm install musl platform packages + if: endsWith(matrix.cli_target, '-musl') + run: | + printf 'supportedArchitectures:\n libc: [current, musl]\n' >> pnpm-workspace.yaml - run: pnpm install --frozen-lockfile - name: Build native packages (POSIX) if: matrix.platform != 'windows-x64' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c42ad00c..3974f346e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1374,6 +1374,11 @@ packages: '@ts-morph/common@0.11.1': resolution: {integrity: sha512-7hWZS0NRpEsNV8vWJzg7FEz6V8MaLNeJOmwmghqUXTpzk16V1LLZhdo+4QvE/+zv4cVci0OviuJFnqhEfoV3+g==} + '@tsc-ts/darwin-arm64@0.0.5': + resolution: {integrity: sha512-yP64b2VpAKWG92KepBqxs1P89wpwiheYwNMk4EmmhSl6aw/ImIBrdHYNjvao3sg6FHZCXTc+PB6Vukh6hyQiJQ==} + cpu: [arm64] + os: [darwin] + '@tsc-ts/darwin-x64@0.0.5': resolution: {integrity: sha512-CEeHOFfpx5H9V3WSq+V7XGU8tfc06nRN818auiRVwuwPHvpti9gHq0HYkvf/43PH1pIGcgf68sQYdIxJhrQDKQ==} cpu: [x64] @@ -3442,6 +3447,9 @@ snapshots: mkdirp: 1.0.4 path-browserify: 1.0.1 + '@tsc-ts/darwin-arm64@0.0.5': + optional: true + '@tsc-ts/darwin-x64@0.0.5': optional: true @@ -4800,6 +4808,7 @@ snapshots: dependencies: '@scriptc/threads': 0.3.6 optionalDependencies: + '@tsc-ts/darwin-arm64': 0.0.5 '@tsc-ts/darwin-x64': 0.0.5 '@tsc-ts/linux-arm64-gnu': 0.0.5 '@tsc-ts/linux-arm64-musl': 0.0.5