From 13e8012f34d1d6353a91bfaf3ad26b2c4ef00cbe Mon Sep 17 00:00:00 2001 From: JounQin Date: Sat, 2 Dec 2023 09:36:19 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20add=20default=20SYNCKIT=5FTIMEOUT?= =?UTF-8?q?=E2=80=8E=20on=20testing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- package.json | 1 + yarn.lock | 9 ++++++++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f9fba8165..bdd03cf5d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: run: yarn --frozen-lockfile --ignore-engines - name: Build, Lint and Test - run: yarn run-s build lint test + run: yarn cross-env SYNCKIT_TIMEOUT=10000 run-s build lint test env: EFF_NO_LINK_RULES: true PARSER_NO_WATCH: true diff --git a/package.json b/package.json index 55dfb5621..84008be58 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,7 @@ "@types/jest": "^29.5.10", "@types/node": "^20.10.1", "clean-pkg-json": "^1.2.0", + "cross-env": "^7.0.3", "deasync": "^0.1.29", "esbuild-register": "^3.5.0", "esbuild-runner": "^2.2.2", diff --git a/yarn.lock b/yarn.lock index 8f7748ef1..6e25d88b0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4354,6 +4354,13 @@ create-require@^1.1.0: resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + cross-spawn@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" @@ -4374,7 +4381,7 @@ cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==