Skip to content

Instantly share code, notes, and snippets.

@r3dm1ke
Last active February 25, 2020 17:14
Show Gist options
  • Select an option

  • Save r3dm1ke/7c6753b7c2819c3e842654ff3e60408e to your computer and use it in GitHub Desktop.

Select an option

Save r3dm1ke/7c6753b7c2819c3e842654ff3e60408e to your computer and use it in GitHub Desktop.
name: Run test suite
on: [pull_request]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [8.x, 10.x, 12.x]
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 and test
run: |
npm ci
npm test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment