Skip to content

Commit

Permalink
fix: remove Node 14 builds (need npm 7 and above) and improve npm cac…
Browse files Browse the repository at this point in the history
…hing
  • Loading branch information
LouisBrunner committed Dec 10, 2022
1 parent 69aef4a commit 5239a33
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,15 @@ jobs:

strategy:
matrix:
node-version: [14, 16, 18, latest]
node-version: [16, 18, latest]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Check cache node_modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: ${{ runner.os }}-node-${{ matrix.node-version }}-
cache: 'npm'
- name: Install dependencies
run: npm install
- run: npm run test:ci
Expand Down

0 comments on commit 5239a33

Please sign in to comment.