1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

feat: CI测试

This commit is contained in:
steven 2023-04-02 23:53:28 +08:00
parent 75b4447437
commit 97fec1e79e
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -1,10 +1,9 @@
/** @type {import('@jest/types').Config.InitialOptions} */
module.exports = {
rootDir: '..',
testMatch: ['<rootDir>/e2e/**/*.test.js'],
testTimeout: 120000,
maxWorkers: 1,
testMatch: ['**/*.test.ts'],
testMatch: ['<rootDir>/e2e/**/*.test.ts'],
testTimeout: 240000,
maxWorkers: 2,
transform: {
'\\.tsx?$': 'ts-jest',
},