diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4768bbc..66dedf6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,7 +20,7 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-java@v4 + - uses: actions/setup-java@v2 with: distribution: 'adopt' java-version: '11' diff --git a/package.json b/package.json index 0ece3d0..faa1865 100644 --- a/package.json +++ b/package.json @@ -28,9 +28,9 @@ "lint-fix": "eslint src --fix", "prepare": "npm run build", "_prepublishOnly": "npm test && npm run lint", - "test": "jest", - "test:v2": "DDB_CLIENT_VERSION=v2 jest", - "test:v3": "DDB_CLIENT_VERSION=v3 jest", + "test": "jest basic", + "test:v2": "DDB_CLIENT_VERSION=v2 jest basic", + "test:v3": "DDB_CLIENT_VERSION=v3 jest basic", "test-cov": "jest --coverage", "test-cov:v2": "npm run test:v2 -- --coverage", "test-cov:v3": "npm run test:v3 -- --coverage" diff --git a/test/utils/setup.ts b/test/utils/setup.ts index 006ed61..87a8560 100644 --- a/test/utils/setup.ts +++ b/test/utils/setup.ts @@ -24,7 +24,7 @@ module.exports = async () => { await waitPort({ host: '0.0.0.0', port: PORT, - timeout: 10000, + timeout: 20000, }) process.env.DYNAMODB_PID = String(dynamodb.pid) process.env.DYNAMODB_PORT = String(PORT)