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/<platform> 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.
This commit is contained in:
Chris Tate
2026-10-20 16:50:41 -05:00
parent b6c10f6b63
commit faf3ced3f7
2 changed files with 15 additions and 0 deletions
+6
View File
@@ -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'
+9
View File
@@ -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