From a763e39d891e392a9cb2a4929008a62b776bb2dc Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Wed, 14 Feb 2024 16:54:56 +0000 Subject: [PATCH] update npm for old node versions --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7fa3bbd..971b932 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,8 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: npm + - run: npm i -g npm@7 + if: ${{ matrix.node-version == '10.x' || matrix.node-version == '12.x' || matrix.node-version == '14.x' }} - run: npm ci - run: npm run lint:js - run: npm test