mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 12:57:46 +00:00
Some tests are skipped because CI tests are running against v16. I added a new GitHub CI job just inlcuding the tests that are skipped for now.
47 lines
1.1 KiB
JavaScript
Vendored
47 lines
1.1 KiB
JavaScript
Vendored
async function main() {
|
|
try {
|
|
console.log(
|
|
JSON.stringify([
|
|
{
|
|
runner: 'ubuntu-latest',
|
|
packagePath: 'packages/node',
|
|
packageName: '@vercel/node',
|
|
scriptName: 'test-unit',
|
|
testScript: 'test',
|
|
testPaths: ['test/unit/dev.test.ts'],
|
|
chunkNumber: 1,
|
|
allChunksLength: 1,
|
|
},
|
|
{
|
|
runner: 'macos-14',
|
|
packagePath: 'packages/node',
|
|
packageName: '@vercel/node',
|
|
scriptName: 'test-unit',
|
|
testScript: 'test',
|
|
testPaths: ['test/unit/dev.test.ts'],
|
|
chunkNumber: 1,
|
|
allChunksLength: 1,
|
|
},
|
|
{
|
|
runner: 'windows-latest',
|
|
packagePath: 'packages/node',
|
|
packageName: '@vercel/node',
|
|
scriptName: 'test-unit',
|
|
testScript: 'test',
|
|
testPaths: ['test/unit/dev.test.ts'],
|
|
chunkNumber: 1,
|
|
allChunksLength: 1,
|
|
},
|
|
])
|
|
);
|
|
} catch (e) {
|
|
console.error(e);
|
|
process.exitCode = 1;
|
|
}
|
|
}
|
|
|
|
// @ts-ignore
|
|
if (module === require.main || !module.parent) {
|
|
main();
|
|
}
|