From 333815eadd167bd4f5c4fc811b2fe712e32e627c Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Sun, 10 Mar 2024 10:40:33 +0900 Subject: [PATCH] updates the default runtime to node20 --- .github/workflows/test.yml | 2 +- action.yml | 2 +- package-lock.json | 16 ++++++++++++---- package.json | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28926fb0..a93d4135 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - uses: actions/checkout@v4 - run: npm ci - run: npm run all diff --git a/action.yml b/action.yml index af1b81c2..47b1e251 100644 --- a/action.yml +++ b/action.yml @@ -54,5 +54,5 @@ outputs: deploy-url: description: Deploy URL runs: - using: 'node16' + using: 'node20' main: 'dist/index.js' diff --git a/package-lock.json b/package-lock.json index 7c86aadc..5b12c577 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ }, "devDependencies": { "@types/jest": "^29.5.3", - "@types/node": "^16.18.43", + "@types/node": "^20.11.25", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.62.0", "@vercel/ncc": "^0.38.1", @@ -1715,9 +1715,12 @@ "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==" }, "node_modules/@types/node": { - "version": "16.18.87", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.87.tgz", - "integrity": "sha512-+IzfhNirR/MDbXz6Om5eHV54D9mQlEMGag6AgEzlju0xH3M8baCXYwqQ6RKgGMpn9wSTx6Ltya/0y4Z8eSfdLw==" + "version": "20.11.25", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.11.25.tgz", + "integrity": "sha512-TBHyJxk2b7HceLVGFcpAUjsa5zIdsPWlR6XHfyGzd0SFu+/NFgQgMAl96MSDZgQDvJAvV6BKsFOrt6zIL09JDw==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/semver": { "version": "7.5.8", @@ -6486,6 +6489,11 @@ "node": ">=14.0" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/uniq": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", diff --git a/package.json b/package.json index 6b3acd90..4dd1cf49 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ }, "devDependencies": { "@types/jest": "^29.5.3", - "@types/node": "^16.18.43", + "@types/node": "^20.11.25", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.62.0", "@vercel/ncc": "^0.38.1",