From 5ec79b171ec36efa37a80096a47eaf3a66013b90 Mon Sep 17 00:00:00 2001 From: Mihnea Dobrescu-Balaur Date: Wed, 4 Jun 2025 16:57:27 +0300 Subject: [PATCH 1/3] docs: clarify Node requirement --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 207a40a..91f9abf 100644 --- a/README.md +++ b/README.md @@ -213,8 +213,8 @@ Make sure you have the dev dependencies installed (e.g. `npm install .`) ## Node version -This project requires at least Node v4.2. -Check out version `0.1.1` if you need support for older versions of Node. +This project requires Node.js `>=10`. +Check out version `0.1.1` if you need support for Node `4.x`. ## CLI usage From 122f133c4dce9c8954507028d23bd9ed1698fd86 Mon Sep 17 00:00:00 2001 From: Mihnea Dobrescu-Balaur Date: Wed, 4 Jun 2025 17:11:05 +0300 Subject: [PATCH 2/3] Remove Node version section and update CI Node --- .github/workflows/node.js.yml | 2 +- README.md | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index e137b36..8ad74c2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [12.x, 14.x, 16.x] + node-version: [22.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/README.md b/README.md index 91f9abf..8fb3b59 100644 --- a/README.md +++ b/README.md @@ -211,11 +211,6 @@ $ npm test Make sure you have the dev dependencies installed (e.g. `npm install .`) -## Node version - -This project requires Node.js `>=10`. -Check out version `0.1.1` if you need support for Node `4.x`. - ## CLI usage You can use script directly from command line for generating json data. From 46189d13287005e38aee63f7f1aa966b81d430d3 Mon Sep 17 00:00:00 2001 From: Mihnea Dobrescu-Balaur Date: Wed, 4 Jun 2025 17:41:10 +0300 Subject: [PATCH 3/3] CI: drop npm cache and update setup action --- .github/workflows/node.js.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8ad74c2..cf1dfea 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -22,10 +22,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: 'npm' - run: npm ci - run: npm run build --if-present - run: npm test