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.
This commit is contained in:
parent
53801091a0
commit
d54e23d5a1
1 changed files with 2 additions and 2 deletions
|
|
@ -63,12 +63,12 @@ test(
|
|||
},
|
||||
async ({ fs, spawn, exec, expect }) => {
|
||||
// Generate the initial build so output CSS files exist on disk
|
||||
await exec('webpack --mode=development')
|
||||
await exec('pnpm webpack --mode=development')
|
||||
|
||||
// NOTE: We are writing to an output CSS file which is not being ignored by
|
||||
// `.gitignore` nor marked with `@source not`. This should not result in an
|
||||
// infinite loop.
|
||||
let process = await spawn('webpack --mode=development --watch')
|
||||
let process = await spawn('pnpm webpack --mode=development --watch')
|
||||
await process.onStdout((m) => m.includes('compiled successfully in'))
|
||||
|
||||
expect(await fs.dumpFiles('./dist/*.css')).toMatchInlineSnapshot(`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue