From 3c9284879c0aa0e462047fec9e4f5d836a3600cd Mon Sep 17 00:00:00 2001 From: Carlos Serrano Date: Fri, 22 Mar 2024 09:57:48 +0100 Subject: [PATCH] ci: fix tests in node 8 & 9 fix nyc version to 14.1.1 when running tests in node 8 or node 9. nyc 15.x requires a version of yargs package version requires node >=10. fixes #108 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c329b7..ea3a8bc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -75,11 +75,11 @@ jobs: - name: Node.js 8.x node-version: "8.17" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 - name: Node.js 9.x node-version: "9.11" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 - name: Node.js 10.x node-version: "10.24"