aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: cc1b29b24cb378e4d84525d670430bac99948d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Node CI

on: [push]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        node: [ '12', '10', '8' ]
    name: Node ${{ matrix.node }} CI
    steps:
    - uses: actions/checkout@v1
    - name: Setup node
      uses: actions/setup-node@v1
      with:
        node-version: ${{ matrix.node }}
    - name: npm install, build, lint, and test
      run: |
        npm ci
        npm run build
        npm run lint
        npm test
      env:
        CI: true