Skip to content

Commit d54e23d

Browse files
authored
Ensure webpack executable is found in CI (#17470)
This PR will fix CI on the main branch where `webpack` could not be found on macOS (but it worked on Linux). Going to run [ci-all] to verify the changes.
1 parent 5380109 commit d54e23d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/webpack/index.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ test(
6363
},
6464
async ({ fs, spawn, exec, expect }) => {
6565
// Generate the initial build so output CSS files exist on disk
66-
await exec('webpack --mode=development')
66+
await exec('pnpm webpack --mode=development')
6767

6868
// NOTE: We are writing to an output CSS file which is not being ignored by
6969
// `.gitignore` nor marked with `@source not`. This should not result in an
7070
// infinite loop.
71-
let process = await spawn('webpack --mode=development --watch')
71+
let process = await spawn('pnpm webpack --mode=development --watch')
7272
await process.onStdout((m) => m.includes('compiled successfully in'))
7373

7474
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`

0 commit comments

Comments
 (0)