From 7e10024fc8e0ce4a4c4744dd73c20d97c571a35c Mon Sep 17 00:00:00 2001 From: Louis Grasset Date: Wed, 25 Oct 2023 18:19:14 +0200 Subject: [PATCH] ci(build): set minimum node version to 18 (#95) --- .github/workflows/ci.yml | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2fccfa..877dc12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ '16.x', '18.x', '20.x' ] + node-version: [ '18.x', '20.x', '21.x' ] steps: - uses: actions/checkout@v4 with: diff --git a/package.json b/package.json index 8915108..2a2ae84 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,9 @@ "postinstall": "husky install .husky", "commitlint": "commitlint --edit" }, + "engines": { + "node": ">=18.0.0" + }, "type": "module", "author": "Louis Grasset", "homepage": "https://github.com/louisgrasset/touitomamout",