From 33eccc31975a1c692ed1064357150e2b91b91057 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 26 Nov 2019 11:00:30 +0200 Subject: [PATCH] Revert "CI: use `npm ci` on Node.js >=8." This reverts commit be79dab7f164da7762951fa5940dacdd3ec7ceff. Too complex to make this work with full version numbers --- .github/workflows/test.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 419d6c47..26ad1aec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,14 +26,8 @@ jobs: - run: node --version - run: npm --version - # remove this block when Node.js 6.x is dropped - - name: Install npm dependencies (npm i) - run: npm install - if: matrix.node < 8 - - - name: Install npm dependencies (npm ci) - run: npm ci - if: matrix.node >= 8 + - name: Install npm dependencies + run: npm install # switch to `npm ci` when Node.js 6 support is dropped - name: Run lint run: npm run lint