Skip to content

Commit e67cf34

Browse files
branchseerclaude
andcommitted
ci: use actions/setup-node with x64 arch for Rosetta fspy tests
oxc-project/setup-node v1.0.4 doesn't support the architecture input, so use pnpm/action-setup + actions/setup-node directly for the x86_64-apple-darwin target to install x64 node (runs under Rosetta). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 80edbde commit e67cf34

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,14 @@ jobs:
9393

9494
# For x86_64-apple-darwin on arm64 runner, install x64 node so fspy preload dylib
9595
# (compiled for x86_64) can be injected into node processes running under Rosetta.
96-
- uses: oxc-project/setup-node@fdbf0dfd334c4e6d56ceeb77d91c76339c2a0885 # v1.0.4
96+
# oxc-project/setup-node doesn't support the architecture input, so use
97+
# pnpm/action-setup + actions/setup-node directly.
98+
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
99+
if: ${{ matrix.target == 'x86_64-apple-darwin' }}
100+
101+
- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
97102
with:
103+
node-version-file: .node-version
98104
architecture: x64
99105
if: ${{ matrix.target == 'x86_64-apple-darwin' }}
100106

0 commit comments

Comments
 (0)