diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf69ce0..a1d1db9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -119,8 +119,8 @@ jobs: steps: - uses: actions/setup-java@v4 with: - distribution: temurin - java-version: 11.x + distribution: corretto + java-version: "11" - uses: actions/setup-node@v4 with: node-version: 18.18.0 @@ -179,7 +179,7 @@ jobs: node-version: 18.18.0 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 3.x + dotnet-version: 6.x - name: Download build artifacts uses: actions/download-artifact@v4 with: @@ -207,7 +207,7 @@ jobs: node-version: 18.18.0 - uses: actions/setup-go@v5 with: - go-version: ^1.16.0 + go-version: ^1.18.0 - name: Download build artifacts uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a8d823..43fcfb2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -135,8 +135,8 @@ jobs: steps: - uses: actions/setup-java@v4 with: - distribution: temurin - java-version: 11.x + distribution: corretto + java-version: "11" - uses: actions/setup-node@v4 with: node-version: 18.18.0 @@ -212,7 +212,7 @@ jobs: node-version: 18.18.0 - uses: actions/setup-dotnet@v4 with: - dotnet-version: 3.x + dotnet-version: 6.x - name: Download build artifacts uses: actions/download-artifact@v4 with: @@ -246,7 +246,7 @@ jobs: node-version: 18.18.0 - uses: actions/setup-go@v5 with: - go-version: ^1.16.0 + go-version: ^1.18.0 - name: Download build artifacts uses: actions/download-artifact@v4 with: diff --git a/.projen/tasks.json b/.projen/tasks.json index 343e107..5464d26 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -145,7 +145,12 @@ "description": "Creates the distribution package", "steps": [ { - "exec": "if [ ! -z ${CI} ]; then rsync -a . .repo --exclude .git --exclude node_modules && rm -rf dist && mv .repo dist; else npx projen package-all; fi" + "exec": "rsync -a . .repo --exclude .git --exclude node_modules && rm -rf dist && mv .repo dist", + "condition": "node -e \"if (!process.env.CI) process.exit(1)\"" + }, + { + "spawn": "package-all", + "condition": "node -e \"if (process.env.CI) process.exit(1)\"" } ] }, diff --git a/jest.config.json b/jest.config.json index 3a79d4e..7595ba1 100644 --- a/jest.config.json +++ b/jest.config.json @@ -3,8 +3,10 @@ "verbose": true, "maxWorkers": "50%", "testMatch": [ - "/lib/**/__tests__/**/*.ts?(x)", - "/@(test|lib)/**/*(*.)@(spec|test).ts?(x)" + "/@(lib|test)/**/*(*.)@(spec|test).ts?(x)", + "/@(lib|test)/**/__tests__/**/*.ts?(x)", + "/@(projenrc)/**/*(*.)@(spec|test).ts?(x)", + "/@(projenrc)/**/__tests__/**/*.ts?(x)" ], "clearMocks": true, "collectCoverage": true,