From a4103c378db011e4f57a3de8fef0a3fb62abc603 Mon Sep 17 00:00:00 2001 From: Takashi Arai Date: Mon, 4 Nov 2024 09:49:26 -0800 Subject: [PATCH] chore: upgrade to node >=20 --- .github/workflows/lint.yml | 2 +- .github/workflows/prettier.yml | 2 +- .github/workflows/run-tests.yml | 4 ++-- package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 7075dc1..5ef8f26 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18, 20 ] + node: [ 20 ] name: Linting on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index bb5e312..4a310fa 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18, 20 ] + node: [ 20 ] name: Prettier on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 0da241c..9688967 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18, 20 ] + node: [ 20, 22 ] name: Run tests on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 @@ -20,7 +20,7 @@ jobs: runs-on: windows-latest strategy: matrix: - node: [ 18, 20 ] + node: [ 20, 22 ] name: Run tests on Windows with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 3e4b2d5..314b6a5 100644 --- a/package.json +++ b/package.json @@ -80,13 +80,13 @@ "trailingComma": "none" }, "engines": { - "node": ">=18" + "node": ">=20" }, "peerDependencies": { "eslint": ">=7" }, "volta": { - "node": "20.16.0", + "node": "20.18.0", "yarn": "1.22.22" } }