From 7ee8bfe789ae42c384709ef2d0a0e0676ddbd307 Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Mon, 7 Nov 2022 15:19:00 +0800 Subject: [PATCH 1/3] Add two projects to integration test --- .github/workflows/main.yml | 1 + test/integration/projects.mjs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d8f80c958..cf1730dfb5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,6 +66,7 @@ jobs: - "10" - "11" - "12" + - "13" env: TIMING: 1 runs-on: ubuntu-latest diff --git a/test/integration/projects.mjs b/test/integration/projects.mjs index 7599fc37ee..adf298551a 100644 --- a/test/integration/projects.mjs +++ b/test/integration/projects.mjs @@ -189,6 +189,10 @@ export default [ // These two project use `decorator`, try to enable when we use `@babel/eslint-parser` // 'https://github.com/untitled-labs/metabase-custom', // 'https://github.com/TheThingsNetwork/lorawan-stack', + [ + 'https://github.com/zloirock/core-js', + 'https://github.com/rollup/rollup', + ], ].flatMap((projectOrProjects, index) => Array.isArray(projectOrProjects) ? projectOrProjects.map(project => ({...normalizeProject(project), group: index})) From 1cd8ca6eb6f69d478bf433d27811dbeb8034556a Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Mon, 7 Nov 2022 17:54:38 +0800 Subject: [PATCH 2/3] Ignore `test/` --- test/integration/projects.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/integration/projects.mjs b/test/integration/projects.mjs index adf298551a..734854d397 100644 --- a/test/integration/projects.mjs +++ b/test/integration/projects.mjs @@ -191,7 +191,12 @@ export default [ // 'https://github.com/TheThingsNetwork/lorawan-stack', [ 'https://github.com/zloirock/core-js', - 'https://github.com/rollup/rollup', + { + repository: 'https://github.com/rollup/rollup', + ignore: [ + 'test/**', + ], + }, ], ].flatMap((projectOrProjects, index) => Array.isArray(projectOrProjects) From 50c41501dc9dc1ca52e1288338ad55d9304983db Mon Sep 17 00:00:00 2001 From: fisker Cheung Date: Mon, 7 Nov 2022 18:17:28 +0800 Subject: [PATCH 3/3] Ignore syntax error --- test/integration/projects.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/projects.mjs b/test/integration/projects.mjs index 734854d397..d5b52f1f51 100644 --- a/test/integration/projects.mjs +++ b/test/integration/projects.mjs @@ -195,6 +195,7 @@ export default [ repository: 'https://github.com/rollup/rollup', ignore: [ 'test/**', + 'scripts/perf.js', ], }, ],