Skip to content

Commit

Permalink
ci: update to work with changing node.js landscape
Browse files Browse the repository at this point in the history
* don't install -g npm
* do not list dependencies
* drop 10.0.x, as it does not have npm ci support
  • Loading branch information
isaacs committed Nov 9, 2021
1 parent 27fb568 commit 22eb693
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 22eb693

Please sign in to comment.