Add a monorepo (project references) support for via the --build flag #170
Annotations
14 errors and 3 notices
monorepo:
test/basic.test.js#L153
[Error [ERR_TEST_FAILURE]: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.
at makeError (file:///home/runner/work/borp/borp/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///home/runner/work/borp/borp/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runWithTypeScript (file:///home/runner/work/borp/borp/lib/run.js:47:9)
at async TestContext.<anonymous> (file:///home/runner/work/borp/borp/test/basic.test.js:153:18)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
shortMessage: 'Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
command: 'node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
escapedCommand: 'node "/home/runner/work/borp/borp/node_modules/typescript/bin/tsc" --build',
exitCode: 2,
signal: undefined,
signalDescription: undefined,
stdout: "src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.",
stderr: '',
cwd: '/home/runner/work/borp/borp/fixtures/monorepo/package2',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
}
|
test (20.x, ubuntu-latest)
Process completed with exit code 1.
|
test (18.x, ubuntu-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
|
monorepo:
test/basic.test.js#L153
[Error [ERR_TEST_FAILURE]: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.] {
failureType: 'testCodeFailure',
cause: Error: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.
at makeError (file:///home/runner/work/borp/borp/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///home/runner/work/borp/borp/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runWithTypeScript (file:///home/runner/work/borp/borp/lib/run.js:47:9)
at async TestContext.<anonymous> (file:///home/runner/work/borp/borp/test/basic.test.js:153:18)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
shortMessage: 'Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
command: 'node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
escapedCommand: 'node "/home/runner/work/borp/borp/node_modules/typescript/bin/tsc" --build',
exitCode: 2,
signal: undefined,
signalDescription: undefined,
stdout: "src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.",
stderr: '',
cwd: '/home/runner/work/borp/borp/fixtures/monorepo/package2',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
},
code: 'ERR_TEST_FAILURE'
}
|
test (18.x, ubuntu-latest)
Process completed with exit code 1.
|
test (21.x, windows-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
|
test (21.x, windows-latest)
The operation was canceled.
|
test (18.x, windows-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
|
test (18.x, windows-latest)
The operation was canceled.
|
test (20.x, windows-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
|
test (20.x, windows-latest)
The operation was canceled.
|
test (21.x, ubuntu-latest)
The job was canceled because "_20_x_ubuntu-latest" failed.
|
monorepo:
test/basic.test.js#L153
[Error [ERR_TEST_FAILURE]: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: Error: Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build
src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.
at makeError (file:///home/runner/work/borp/borp/node_modules/execa/lib/error.js:60:11)
at handlePromise (file:///home/runner/work/borp/borp/node_modules/execa/index.js:124:26)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async runWithTypeScript (file:///home/runner/work/borp/borp/lib/run.js:47:9)
at async TestContext.<anonymous> (file:///home/runner/work/borp/borp/test/basic.test.js:153:18)
at async Test.run (node:internal/test_runner/test:632:9)
at async Test.processPendingSubtests (node:internal/test_runner/test:374:7) {
shortMessage: 'Command failed with exit code 2: node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
command: 'node /home/runner/work/borp/borp/node_modules/typescript/bin/tsc --build',
escapedCommand: 'node "/home/runner/work/borp/borp/node_modules/typescript/bin/tsc" --build',
exitCode: 2,
signal: undefined,
signalDescription: undefined,
stdout: "src/lib/add.ts(1,29): error TS2307: Cannot find module 'package1' or its corresponding type declarations.",
stderr: '',
cwd: '/home/runner/work/borp/borp/fixtures/monorepo/package2',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
}
|
test (21.x, ubuntu-latest)
The operation was canceled.
|
test (20.x, ubuntu-latest)
Total Tests: 20
Suites 📂: 0
Passed ✅: 19
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 17007.669ms
|
test (18.x, ubuntu-latest)
Total Tests: 20
Suites 📂: 0
Passed ✅: 19
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 16986.170ms
|
test (21.x, ubuntu-latest)
Total Tests: 20
Suites 📂: 0
Passed ✅: 19
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 21903.840ms
|