From 7b64ffd80efd101d9f87d9a19d2506fa846cb08a Mon Sep 17 00:00:00 2001 From: Natsuki Ikeguchi Date: Mon, 4 Sep 2023 22:28:53 +0900 Subject: [PATCH] feat: Upgrade to Node.js v20 https://github.com/actions/runner/pull/2732 https://github.com/actions/checkout/pull/1436 --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/release.yaml | 4 ++-- action.yml | 2 +- package.json | 2 +- pnpm-lock.yaml | 8 ++++---- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 626d678..3d359fb 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,11 +16,11 @@ jobs: permissions: contents: read steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - run: corepack enable pnpm diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1cd5102..d8322f0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -15,11 +15,11 @@ jobs: permissions: contents: write steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: '18' + node-version: '20' - run: corepack enable pnpm diff --git a/action.yml b/action.yml index a4391e2..a9309a8 100644 --- a/action.yml +++ b/action.yml @@ -5,7 +5,7 @@ branding: icon: check color: green runs: - using: node16 + using: node20 main: 'index.js' inputs: token: diff --git a/package.json b/package.json index dbacff1..25b6399 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "node-fetch": "^3.3.2" }, "devDependencies": { - "@types/node": "^16.18.46", + "@types/node": "^20.5.9", "esbuild": "^0.19.2", "rome": "^12.1.3", "typescript": "^5.2.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8dd167..68700b2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -23,8 +23,8 @@ dependencies: devDependencies: '@types/node': - specifier: ^16.18.46 - version: 16.18.46 + specifier: ^20.5.9 + version: 20.5.9 esbuild: specifier: ^0.19.2 version: 0.19.2 @@ -510,8 +510,8 @@ packages: dev: true optional: true - /@types/node@16.18.46: - resolution: {integrity: sha512-Mnq3O9Xz52exs3mlxMcQuA7/9VFe/dXcrgAyfjLkABIqxXKOgBRjyazTxUbjsxDa4BP7hhPliyjVTP9RDP14xg==} + /@types/node@20.5.9: + resolution: {integrity: sha512-PcGNd//40kHAS3sTlzKB9C9XL4K0sTup8nbG5lC14kzEteTNuAFh9u5nA0o5TWnSG2r/JNPRXFVcHJIIeRlmqQ==} dev: true /before-after-hook@2.2.3: