lint.yml 388 B

1234567891011121314151617181920212223
  1. name: Node CI
  2. on: [pull_request]
  3. jobs:
  4. lint:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v1
  8. - name: Setup Node.js 12.x
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: 12.x
  12. - name: Install and lint
  13. run: |
  14. npm ci
  15. npm run test:other
  16. npm run test:code
  17. env:
  18. CI: true