name: test
on:
  push
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: actions/setup-node@v1
      with:
        node-version: 12.14.x
    - run: npm ci
    - name: lint, assert version matches, and test
      run: |
        npm run -s lint
        npm run -s assert-package-versions
        npm run -s assert-node-versions
        npm test -s
      env:
        CI: true
