From 23ce874db5f3a15d62cd13e522e4062397486842 Mon Sep 17 00:00:00 2001 From: Takashi Arai Date: Mon, 4 Nov 2024 10:45:39 -0800 Subject: [PATCH] chore: upgrade to node >=20 --- .github/workflows/lint.yml | 2 +- .github/workflows/prettier.yml | 2 +- .github/workflows/tests.yml | 2 +- package.json | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a127a3b..b03013f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18 ] + node: [ 20 ] name: ESLint on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml index 8e17483..9b9e23a 100644 --- a/.github/workflows/prettier.yml +++ b/.github/workflows/prettier.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18 ] + node: [ 20 ] name: Prettier on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d776138..df332b3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ 18 ] + node: [ 20, 22 ] name: Tests Pass on Ubuntu with Node ${{ matrix.node }} steps: - uses: actions/checkout@v3 diff --git a/package.json b/package.json index 2736b6e..f496564 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,10 @@ }, "dependencies": {}, "engines": { - "node": ">=18" + "node": ">=20" + }, + "volta": { + "node": "20.18.0" }, "workspaces": [ "projects/*",