Skip to content

Commit 7468794

Browse files
committed
chore: add ignore engines for system test install until Electron 29 update is finished
1 parent c57fc7d commit 7468794

File tree

1 file changed

+5
-0
lines changed
  • system-tests/lib/dep-installer

1 file changed

+5
-0
lines changed

system-tests/lib/dep-installer/yarn.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export function getYarnCommand (opts: {
2929
// @see https://github.com/yarnpkg/yarn/issues/6407
3030
cmd += ' --update-checksums'
3131

32+
// FIXME: Currently with Electron 27, we use Node 18.17.1. Angular 18 dependencies need at least Node 18.19.1
33+
// which throws an install error on incompatible node version. Once we upgrade to Electron 29, the below line can be removed.
34+
// Remove this flag when https://github.com/cypress-io/cypress/issues/29547 is complete.
35+
cmd += ' --ignore-engines'
36+
3237
// in CircleCI, this offline cache can be used
3338
if (opts.isCI) cmd += ` --cache-folder=${homedir()}/.yarn`
3439
else cmd += ` --cache-folder=${path.join(tempDir, 'cy-system-tests-yarn-cache', String(Date.now()))}`

0 commit comments

Comments
 (0)