Skip to content

Switch CI to GitHub Actions #4

Switch CI to GitHub Actions

Switch CI to GitHub Actions #4

Workflow file for this run

name: Run tests
on:
push:
branches: [ "master" ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 8
- 9
- 10
- 12
- 14
steps:
- uses: actions/checkout@v6
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm test