From 52574a0911d63b9b4966640e92cd86e76f7ef925 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:06:47 +0000 Subject: [PATCH] Update node to v20 --- .github/workflows/release.yaml | 2 +- .github/workflows/ts.yaml | 4 ++-- action.yaml | 2 +- package.json | 2 +- yarn.lock | 15 +++++++++++---- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ad8e6f1c..70059aef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - run: yarn - run: yarn build diff --git a/.github/workflows/ts.yaml b/.github/workflows/ts.yaml index a51412d4..82c9d8fb 100644 --- a/.github/workflows/ts.yaml +++ b/.github/workflows/ts.yaml @@ -25,7 +25,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - run: yarn - run: yarn lint @@ -81,7 +81,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 20 cache: yarn - run: yarn - run: yarn format diff --git a/action.yaml b/action.yaml index b4e3e9c3..a46cabf9 100644 --- a/action.yaml +++ b/action.yaml @@ -18,5 +18,5 @@ inputs: required: true default: ${{ github.token }} runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' diff --git a/package.json b/package.json index c3cd4fe8..33340fed 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "@octokit/graphql-schema": "14.38.0", "@tsconfig/node16": "16.1.1", "@types/jest": "29.5.6", - "@types/node": "16.18.58", + "@types/node": "20.8.7", "@typescript-eslint/eslint-plugin": "6.8.0", "@typescript-eslint/parser": "6.8.0", "@vercel/ncc": "0.38.0", diff --git a/yarn.lock b/yarn.lock index 39e47896..39075774 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2310,10 +2310,12 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-15.12.2.tgz#1f2b42c4be7156ff4a6f914b2fb03d05fa84e38d" integrity sha512-zjQ69G564OCIWIOHSXyQEEDpdpGl+G348RAKY0XXy9Z5kU9Vzv1GMNnkar/ZJ8dzXB3COzD9Mo9NtRZ4xfgUww== -"@types/node@16.18.58": - version "16.18.58" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.58.tgz#bf66f63983104ed57c754f4e84ccaf16f8235adb" - integrity sha512-YGncyA25/MaVtQkjWW9r0EFBukZ+JulsLcVZBlGUfIb96OBMjkoRWwQo5IEWJ8Fj06Go3GHw+bjYDitv6BaGsA== +"@types/node@20.8.7": + version "20.8.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.7.tgz#ad23827850843de973096edfc5abc9e922492a25" + integrity sha512-21TKHHh3eUHIi2MloeptJWALuCu5H7HQTdTrWIFReA8ad+aggoX+lRes3ex7/FtpC+sVUpFMQ+QTfYr74mruiQ== + dependencies: + undici-types "~5.25.1" "@types/semver@^7.5.0": version "7.5.0" @@ -5867,6 +5869,11 @@ unc-path-regex@^0.1.2: resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= +undici-types@~5.25.1: + version "5.25.3" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.25.3.tgz#e044115914c85f0bcbb229f346ab739f064998c3" + integrity sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA== + universal-user-agent@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee"