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 d0986de
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 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: [16, 18, 20]
# 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
- run: yarn test

- name: Install dependencies
run: yarn

- name: Run linting
run: yarn lint

- name: Run test
run: yarn test

0 comments on commit d0986de

Please sign in to comment.