checks.yml 525 B

12345678910111213141516171819202122
  1. name: Checks
  2. on: [push, pull_request]
  3. jobs:
  4. lint:
  5. name: Linting
  6. runs-on: ${{ matrix.os }}
  7. strategy:
  8. matrix:
  9. os: [ubuntu-latest]
  10. node-version: [14.x]
  11. fail-fast: true
  12. steps:
  13. - uses: actions/checkout@v2
  14. - name: Use Node.js ${{matrix.node-version}}
  15. uses: actions/setup-node@v1
  16. with:
  17. node-version: ${{matrix.node-version}}
  18. - name: Install modules
  19. run: yarn install --frozen-lockfile
  20. - name: Run ESLint
  21. run: yarn lint