Skip to content

Update GA test node versions #8

Update GA test node versions

Update GA test node versions #8

Workflow file for this run

name: CI
on:
push:
branches:
- master
- "2.0"
jobs:
test:
name: Test on node ${{ matrix.node_version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
node_version: ['12', '18', '20']
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
- name: npm install, lint, build and test
run: |
npm install
npm run lint
npm run build --if-present
npm run test