From 97fec1e79ee310b1c8b11b797e34c4dfd4d16cf5 Mon Sep 17 00:00:00 2001 From: steven Date: Sun, 2 Apr 2023 23:53:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20CI=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e_ios.yml | 2 +- Example/testHotUpdate/e2e/jest.config.js | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/e2e_ios.yml b/.github/workflows/e2e_ios.yml index 04b866a..1cbd532 100644 --- a/.github/workflows/e2e_ios.yml +++ b/.github/workflows/e2e_ios.yml @@ -35,7 +35,7 @@ jobs: # Set up tool versions - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Configure JDK 1.11 uses: actions/setup-java@v3 diff --git a/Example/testHotUpdate/e2e/jest.config.js b/Example/testHotUpdate/e2e/jest.config.js index 2a2819d..6fc8878 100644 --- a/Example/testHotUpdate/e2e/jest.config.js +++ b/Example/testHotUpdate/e2e/jest.config.js @@ -1,10 +1,9 @@ /** @type {import('@jest/types').Config.InitialOptions} */ module.exports = { rootDir: '..', - testMatch: ['/e2e/**/*.test.js'], - testTimeout: 120000, - maxWorkers: 1, - testMatch: ['**/*.test.ts'], + testMatch: ['/e2e/**/*.test.ts'], + testTimeout: 240000, + maxWorkers: 2, transform: { '\\.tsx?$': 'ts-jest', },