Skip to content

New workflow

New workflow #408

Workflow file for this run

name: Node CI
on:
push:
branches-ignore:
- "dependabot/**"
pull_request:
workflow_dispatch:
env:
FORCE_COLOR: 2
jobs:
test:
name: Node.js ${{ matrix.node }} @ ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
node: [8, 10, 12, 14, 16]
os: [ubuntu-latest]
include:
- os: windows-latest
node: 8
- os: windows-latest
node: 14
- os: macOS-latest
node: 8
- os: macOS-latest
node: 14
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
- run: npm install
- name: Run mocha tests
run: npm run mocha