mirror of
https://gitcode.com/gh_mirrors/re/react-native-pushy.git
synced 2025-09-16 12:11:39 +08:00
feat: CI测试
This commit is contained in:
2
.github/workflows/e2e_ios.yml
vendored
2
.github/workflows/e2e_ios.yml
vendored
@@ -35,7 +35,7 @@ jobs:
|
|||||||
# Set up tool versions
|
# Set up tool versions
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 18
|
||||||
|
|
||||||
- name: Configure JDK 1.11
|
- name: Configure JDK 1.11
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
|
@@ -1,10 +1,9 @@
|
|||||||
/** @type {import('@jest/types').Config.InitialOptions} */
|
/** @type {import('@jest/types').Config.InitialOptions} */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
rootDir: '..',
|
rootDir: '..',
|
||||||
testMatch: ['<rootDir>/e2e/**/*.test.js'],
|
testMatch: ['<rootDir>/e2e/**/*.test.ts'],
|
||||||
testTimeout: 120000,
|
testTimeout: 240000,
|
||||||
maxWorkers: 1,
|
maxWorkers: 2,
|
||||||
testMatch: ['**/*.test.ts'],
|
|
||||||
transform: {
|
transform: {
|
||||||
'\\.tsx?$': 'ts-jest',
|
'\\.tsx?$': 'ts-jest',
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user