From 22eb6935811d58efa9ef08917b0e7f2e73333cd4 Mon Sep 17 00:00:00 2001 From: isaacs Date: Tue, 9 Nov 2021 07:26:40 -0800 Subject: [PATCH] ci: update to work with changing node.js landscape * don't install -g npm * do not list dependencies * drop 10.0.x, as it does not have npm ci support --- .github/workflows/ci.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18ce5b1..8c35b06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [10.0.x, 10.x, 12.0.x, 12.x, 14.0.x, 14.x, 15.x, 16.x] + node-version: [10.x, 12.0.x, 12.x, 14.0.x, 14.x, 15.x, 16.x] platform: - os: ubuntu-latest shell: bash @@ -40,14 +40,8 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm - - name: Update npm - run: npm i --prefer-online -g npm@latest - - name: Install dependencies run: npm ci - name: Run Tap Tests run: npm test ${{ matrix.node-version == '10.0.x' && '-- --no-coverage' || '' }} - - - name: List dependencies - run: npm ls -a