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

View File

@ -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',
}, },