From 1015f3e7dd3909f41b9e6204a5a9fda2f9d8fc7f Mon Sep 17 00:00:00 2001 From: Louis Grasset Date: Wed, 25 Oct 2023 17:59:24 +0200 Subject: [PATCH] ci(build): set minimum node version to 20 (github warning) --- .github/workflows/cd.yml | 2 +- .github/workflows/ci.yml | 8 ++++---- .github/workflows/docs.yml | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 87bd0ac..c58f7e5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -74,7 +74,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3132481..d327fb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies (with dev) @@ -52,7 +52,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies (with dev) @@ -74,7 +74,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ '18.x', '19.x', '20.x', '21.x' ] + node-version: [ '20.x', '21.x' ] steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index c6e3397..cf8b288 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -19,7 +19,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '18.x' + node-version: '20.x' cache: 'npm' - name: Install dependencies diff --git a/package.json b/package.json index 2a2ae84..da572bf 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "commitlint": "commitlint --edit" }, "engines": { - "node": ">=18.0.0" + "node": ">=20.0.0" }, "type": "module", "author": "Louis Grasset",