Skip to content

Commit

Permalink
ci: use Node@20
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Nov 27, 2023
1 parent 0a638eb commit e75bb06
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 16 ]
node-version: [ 20 ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
Expand All @@ -15,15 +15,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Cache Node.js modules
uses: actions/cache@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build examples
Expand Down

0 comments on commit e75bb06

Please sign in to comment.