• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Node.js CI
2
3on: [push, pull_request]
4
5jobs:
6  build:
7    strategy:
8      matrix:
9        node-version: [6.x, 8.x, 10.x, 12.x]
10        os: [ubuntu-latest, windows-latest, macOS-latest]
11    runs-on: ${{ matrix.os }}
12
13    steps:
14    - uses: actions/checkout@v2
15    - name: Use Node.js ${{ matrix.node-version }}
16      uses: actions/setup-node@v1
17      with:
18        node-version: ${{ matrix.node-version }}
19    - run: npm install
20    - run: npm test
21