diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b65b4476..d1fe0aee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,7 +22,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Install dependencies run: yarn install --check-files - name: build @@ -95,7 +95,7 @@ jobs: steps: - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Download build artifacts uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86897859..4efd4f78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Install dependencies run: yarn install --check-files --frozen-lockfile - name: release @@ -55,7 +55,7 @@ jobs: steps: - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Download build artifacts uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: @@ -84,7 +84,7 @@ jobs: steps: - uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Download build artifacts uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: diff --git a/.github/workflows/upgrade-main.yml b/.github/workflows/upgrade-main.yml index 8888e6cc..24a21f69 100644 --- a/.github/workflows/upgrade-main.yml +++ b/.github/workflows/upgrade-main.yml @@ -21,7 +21,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d with: - node-version: 16.14.0 + node-version: 18.12.0 - name: Install dependencies run: yarn install --check-files --frozen-lockfile - name: Upgrade dependencies diff --git a/.projen/deps.json b/.projen/deps.json index 410ede22..cb8d3c59 100644 --- a/.projen/deps.json +++ b/.projen/deps.json @@ -11,7 +11,7 @@ }, { "name": "@types/node", - "version": "^16", + "version": "^18", "type": "build" }, { diff --git a/.projenrc.ts b/.projenrc.ts index cddfdd8b..2701df6b 100644 --- a/.projenrc.ts +++ b/.projenrc.ts @@ -41,7 +41,7 @@ const project = new cdk.JsiiProject({ license: "MPL-2.0", defaultReleaseBranch: "main", releaseToNpm: true, - minNodeVersion: "16.14.0", + minNodeVersion: "18.12.0", mergify: false, scripts: { "eslint:fix": "eslint . --ext .ts --fix", diff --git a/package.json b/package.json index ce8b8eec..d96c8457 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "devDependencies": { "@types/fs-extra": "^9.0.13", "@types/jest": "^27", - "@types/node": "^16", + "@types/node": "^18", "@typescript-eslint/eslint-plugin": "^5", "@typescript-eslint/parser": "^5", "eslint": "^8", @@ -78,7 +78,7 @@ "@types/babel__traverse": "7.18.2" }, "engines": { - "node": ">= 16.14.0" + "node": ">= 18.12.0" }, "main": "lib/index.js", "license": "MPL-2.0", diff --git a/yarn.lock b/yarn.lock index 97ef9481..390a465d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -936,10 +936,10 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.5.tgz#1bc94cf2f9ab5fe33353bc7c79c797dcc5325bef" integrity sha512-3JRwhbjI+cHLAkUorhf8RnqUbFXajvzX4q6fMn5JwkgtuwfYtRQYI3u4V92vI6NJuTsbBQWWh3RZjFsuevyMGQ== -"@types/node@^16": - version "16.18.23" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.23.tgz#b6e934fe427eb7081d0015aad070acb3373c3c90" - integrity sha512-XAMpaw1s1+6zM+jn2tmw8MyaRDIJfXxqmIQIS0HfoGYPuf7dUWeiUKopwq13KFX9lEp1+THGtlaaYx39Nxr58g== +"@types/node@^18": + version "18.18.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.18.5.tgz#afc0fd975df946d6e1add5bbf98264225b212244" + integrity sha512-4slmbtwV59ZxitY4ixUZdy1uRLf9eSIvBWPQxNjhHYWEtn0FryfKpyS2cvADYXTayWdKEIsJengncrVvkI4I6A== "@types/normalize-package-data@^2.4.0": version "2.4.1"