Skip to content

Commit

Permalink
ci: build from source with multiple nodejs versions
Browse files Browse the repository at this point in the history
  • Loading branch information
louisgrasset committed Oct 18, 2023
1 parent d50df89 commit fb8669c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,18 @@ jobs:
needs:
- eslint
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ '14.x', '16.x', '18.x', '20.x' ]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: '18.x'
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit fb8669c

Please sign in to comment.