From 1bfe2ad296fe00a9718b335ab02d86e2a6bb906b Mon Sep 17 00:00:00 2001 From: Benjamin Pahl <8275915+DasBen@users.noreply.github.com> Date: Thu, 14 Mar 2024 08:01:43 +0100 Subject: [PATCH] feat: update to node 20 (#22) --- .github/workflows/ciPR.yaml | 2 +- .github/workflows/ciPush.yaml | 4 ++-- action.yaml | 2 +- package.json | 2 +- yarn.lock | 15 +++++++++++---- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ciPR.yaml b/.github/workflows/ciPR.yaml index 9121773..4a94de0 100644 --- a/.github/workflows/ciPR.yaml +++ b/.github/workflows/ciPR.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - run: yarn install --frozen-lockfile - run: yarn lint - run: yarn test diff --git a/.github/workflows/ciPush.yaml b/.github/workflows/ciPush.yaml index 806a21e..690d669 100644 --- a/.github/workflows/ciPush.yaml +++ b/.github/workflows/ciPush.yaml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - run: yarn - run: yarn lint - run: yarn test @@ -31,7 +31,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '18' + node-version: '20' - name: Install dependencies run: yarn install --frozen-lockfile - name: Release diff --git a/action.yaml b/action.yaml index 4016113..f9672f9 100644 --- a/action.yaml +++ b/action.yaml @@ -2,7 +2,7 @@ name: 'github-action-todo-commenter' description: Parses pull request files based on tags and creates a comment with a task list author: Georgios Kampitakis runs: - using: 'node16' + using: 'node20' main: 'lib/index.js' branding: icon: 'check-circle' diff --git a/package.json b/package.json index 0b3349d..79b14cb 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "@semantic-release/git": "^10.0.1", "@spotify/eslint-config": "^14.1.6", "@types/jest": "^29.5.0", - "@types/node": "^18.15.11", + "@types/node": "^20.11.26", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", "@vercel/ncc": "^0.36.1", diff --git a/yarn.lock b/yarn.lock index a6e149e..7739eb5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1638,10 +1638,12 @@ resolved "https://registry.npmjs.org/@types/node/-/node-17.0.23.tgz" integrity sha512-UxDxWn7dl97rKVeVS61vErvw086aCYhDLyvRQZ5Rk65rZKepaFdm53GeqXaKBuOhED4e9uWq34IC3TdSdJJ2Gw== -"@types/node@^18.15.11": - version "18.15.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.11.tgz#b3b790f09cb1696cffcec605de025b088fa4225f" - integrity sha512-E5Kwq2n4SbMzQOn6wnmBjuK9ouqlURrcZDVfbo9ftDDTFt3nk7ZKK4GMOzoYgnpQJKcxwQw+lGaBvvlMo0qN/Q== +"@types/node@^20.11.26": + version "20.11.26" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.26.tgz#3fbda536e51d5c79281e1d9657dcb0131baabd2d" + integrity sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ== + dependencies: + undici-types "~5.26.4" "@types/normalize-package-data@^2.4.0", "@types/normalize-package-data@^2.4.1": version "2.4.1" @@ -6894,6 +6896,11 @@ unbox-primitive@^1.0.1: has-symbols "^1.0.2" which-boxed-primitive "^1.0.2" +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + unique-filename@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2"