Skip to content

Commit

Permalink
Modified node version in CI to 18 and 20
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineludeau committed Oct 10, 2023
1 parent 1b39619 commit d73c088
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,28 @@ on:

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
node-version: [18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn
- run: yarn lint

- name: Install dependencies
run: yarn

- name: Run linting
run: yarn lint

- name: Run test
- run: yarn test

0 comments on commit d73c088

Please sign in to comment.