From d34ce40f072d2b244451310c979a94d29777aa6a Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Wed, 16 Nov 2022 13:54:37 +0200 Subject: [PATCH] ci: Use npm@7 on Node.js v12 & v14 --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 243edc0..f64695c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,8 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - if: matrix.node-version <= 14 + run: npm install --global npm@7 - run: npm ci - if: matrix.node-version == 12 run: npm install mocha@9