Skip to content

Commit

Permalink
ci: upgrade npm on node v14
Browse files Browse the repository at this point in the history
  • Loading branch information
plasticrake committed Jan 13, 2023
1 parent 20c8cf7 commit 628f341
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,14 @@ jobs:
name: Build and Test

strategy:
fail-fast: false
matrix:
node-version: [14.x, 16.x, 18.x]
os: [ubuntu-latest]
include:
- node-version: 14.x
os: ubuntu-latest
npm-version: '7'

runs-on: ${{ matrix.os }}

Expand All @@ -48,6 +53,9 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- if: ${{ matrix.npm-version }}
run: npm install -g npm@${{ matrix.npm-version }}

- name: npm install, build and test
run: |
npm ci
Expand Down

0 comments on commit 628f341

Please sign in to comment.