checks.yml 657 B

1234567891011121314151617181920212223242526
  1. name: Checks
  2. on: [push, pull_request]
  3. jobs:
  4. lint:
  5. name: Tests and Linting
  6. runs-on: ${{ matrix.os }}
  7. strategy:
  8. matrix:
  9. os: [ubuntu-latest]
  10. node-version: [16.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 atlas:lint
  22. - name: Run madge
  23. run: yarn atlas:madge:circular
  24. - name: Run Tests
  25. run: yarn atlas:test