Unverified Commit 8dd4bc41 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix copying local swc binary for pnpm test (#37047)

This fixes the test when a publish is done, seems it's been passing for a while by using the wasm fallback instead but this fails on a publish since the current version being published isn't available until after the test runs

x-ref: https://github.com/vercel/next.js/runs/6512721965?check_suite_focus=true
parent b4af2f3f
...@@ -132,7 +132,7 @@ async function usingPnpmCreateNextApp(appDir, fn) { ...@@ -132,7 +132,7 @@ async function usingPnpmCreateNextApp(appDir, fn) {
await fs.copy( await fs.copy(
path.join(__dirname, '../../../../packages/next-swc/native'), path.join(__dirname, '../../../../packages/next-swc/native'),
path.join(tempAppDir, 'node_modules/next-swc/native') path.join(tempAppDir, 'node_modules/@next/swc/native')
) )
await fn(tempAppDir) await fn(tempAppDir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment