Skip to content

Upgraded CI node version to 16, 18 and 20 on github action workflow #429

Upgraded CI node version to 16, 18 and 20 on github action workflow

Upgraded CI node version to 16, 18 and 20 on github action workflow #429

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- 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'
- name: Install dependencies
run: yarn
- name: Run linting
run: yarn lint
- name: Run test
run: yarn test