diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0ce3c16642..4cc848db38 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,12 +15,12 @@ jobs: CI: "true" steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -34,10 +34,11 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "self_mutation_happened=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.self_mutation.outputs.self_mutation_happened - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: .repo.patch path: .repo.patch + overwrite: true - name: Fail build on mutation if: steps.self_mutation.outputs.self_mutation_happened run: |- @@ -52,13 +53,13 @@ jobs: if: always() && needs.build.outputs.self_mutation_happened && !(github.event.pull_request.head.repo.full_name != github.repository) steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{ secrets.PROJEN_GITHUB_TOKEN }} ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Download patch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.github/workflows/upgrade-compiler-dependencies.yml b/.github/workflows/upgrade-compiler-dependencies.yml index 1f6057e818..efa40d59e7 100644 --- a/.github/workflows/upgrade-compiler-dependencies.yml +++ b/.github/workflows/upgrade-compiler-dependencies.yml @@ -15,9 +15,9 @@ jobs: patch_created: ${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -31,10 +31,11 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: .repo.patch path: .repo.patch + overwrite: true pr: name: Create Pull Request needs: upgrade @@ -44,9 +45,9 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download patch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.github/workflows/upgrade-configuration.yml b/.github/workflows/upgrade-configuration.yml index ce349e795e..ed59e6fcc9 100644 --- a/.github/workflows/upgrade-configuration.yml +++ b/.github/workflows/upgrade-configuration.yml @@ -15,9 +15,9 @@ jobs: patch_created: ${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -31,10 +31,11 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: .repo.patch path: .repo.patch + overwrite: true pr: name: Create Pull Request needs: upgrade @@ -44,9 +45,9 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download patch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.github/workflows/upgrade-dev-dependencies.yml b/.github/workflows/upgrade-dev-dependencies.yml index 77771e8d3a..2163b6cc70 100644 --- a/.github/workflows/upgrade-dev-dependencies.yml +++ b/.github/workflows/upgrade-dev-dependencies.yml @@ -15,9 +15,9 @@ jobs: patch_created: ${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -31,10 +31,11 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: .repo.patch path: .repo.patch + overwrite: true pr: name: Create Pull Request needs: upgrade @@ -44,9 +45,9 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download patch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.github/workflows/upgrade-runtime-dependencies.yml b/.github/workflows/upgrade-runtime-dependencies.yml index cbae3c6281..b0b7be5551 100644 --- a/.github/workflows/upgrade-runtime-dependencies.yml +++ b/.github/workflows/upgrade-runtime-dependencies.yml @@ -15,9 +15,9 @@ jobs: patch_created: ${{ steps.create_patch.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -31,10 +31,11 @@ jobs: git diff --staged --patch --exit-code > .repo.patch || echo "patch_created=true" >> $GITHUB_OUTPUT - name: Upload patch if: steps.create_patch.outputs.patch_created - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: .repo.patch path: .repo.patch + overwrite: true pr: name: Create Pull Request needs: upgrade @@ -44,9 +45,9 @@ jobs: if: ${{ needs.upgrade.outputs.patch_created }} steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download patch - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: .repo.patch path: ${{ runner.temp }} diff --git a/.projen/tasks.json b/.projen/tasks.json index 881891f554..b3108ff672 100644 --- a/.projen/tasks.json +++ b/.projen/tasks.json @@ -206,7 +206,7 @@ }, "steps": [ { - "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev --filter=@types/jest,@types/node,@typescript-eslint/eslint-plugin,@typescript-eslint/parser,cdk8s,cdk8s-cli,cdk8s-plus-25,cdk8s-plus-26,cdk8s-plus-27,constructs,eslint-import-resolver-typescript,eslint-plugin-import,eslint,jest,jest-junit,lerna,semver,ts-jest,ts-node" + "exec": "npx npm-check-updates@16 --upgrade --target=minor --peer --dep=dev --filter=@types/jest,cdk8s,cdk8s-cli,cdk8s-plus-25,cdk8s-plus-26,cdk8s-plus-27,eslint-import-resolver-typescript,eslint-plugin-import,jest,lerna,semver,ts-jest,ts-node" }, { "exec": "yarn install --check-files" diff --git a/package.json b/package.json index cc6fc140a6..7a64c8e895 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "jest": "^27", "jest-junit": "^15", "lerna": "^7.4.2", - "projen": "^0.79.10", + "projen": "^0.79.16", "semver": "^7.6.0", "ts-jest": "^27.1.5", "ts-node": "^10.9.2", diff --git a/yarn.lock b/yarn.lock index fa6d8f6b78..024272ea7f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6516,10 +6516,10 @@ process-nextick-args@~2.0.0: resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -projen@^0.79.10: - version "0.79.10" - resolved "https://registry.yarnpkg.com/projen/-/projen-0.79.10.tgz#fc68c36f4978087b051f7c761c8ec783cb0900c2" - integrity sha512-1B/dvLCG8YcBY11M7a3Kq7ZC69zRRI9qVm1YZ7AAE4vlFkQwgVc2VA3wR0omqpXjBm2XFK9gaILxMdGpIMUhbg== +projen@^0.79.16: + version "0.79.16" + resolved "https://registry.yarnpkg.com/projen/-/projen-0.79.16.tgz#49604da02a95024ef0f789c35732ba6ca7f26693" + integrity sha512-Q0t7OJJHtXAJ4MiUaxInNqgbKEcY51P8BYQrK2sBvcAQl06BFbtcV+AaxIytPD//EklNMyxjXFzzHcHN307uMw== dependencies: "@iarna/toml" "^2.2.5" case "^1.6.3"