File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 5151 target : x86_64-unknown-linux-gnu
5252 - os : windows-latest
5353 target : x86_64-pc-windows-msvc
54- - os : namespace-profile-mac-default
54+ - os : macos-latest
5555 target : aarch64-apple-darwin
56- - os : namespace-profile-mac-default
56+ - os : macos-latest
5757 target : x86_64-apple-darwin
5858 runs-on : ${{ matrix.os }}
5959 steps :
9191 continue-on-error : true
9292 run : cargo clippy --all-targets --all-features -- -D warnings
9393
94- # Set up node and pnpm for running tests
95- # For x86_64-apple-darwin, use x64 node for fspy tests that verify Node.js fs accesses
94+ # For x86_64-apple-darwin on arm64 runner, install x64 node so fspy preload dylib
95+ # (compiled for x86_64) can be injected into node processes running under Rosetta.
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+
96101 - uses : actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
97102 with :
98103 node-version-file : .node-version
You can’t perform that action at this time.
0 commit comments