Skip to content

Update CI and minimal supported version of NodeJS #220

Update CI and minimal supported version of NodeJS

Update CI and minimal supported version of NodeJS #220

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: test Node ${{ matrix.node }} ${{ matrix.os }}
timeout-minutes: 25
runs-on: ${{ matrix.os }}
strategy:
matrix:
node: ['16.x', '18.x', '20.x']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- name: LF
run: git config --global core.autocrlf false
- name: Checkout repo
uses: actions/checkout@v3
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Install Dependencies
run: npm ci
- name: Check Prettier
run: npm run prettify
- name: Check Lint
run: npm run lint
- name: Test
run: npm test