atlas-pr.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. name: Atlas
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. name: Atlas Tests
  6. runs-on: ${{ matrix.os }}
  7. strategy:
  8. matrix:
  9. os: [ubuntu-latest]
  10. node-version: [12.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 Tests
  21. run: yarn coverage
  22. lint:
  23. name: Atlas Lint
  24. runs-on: ${{ matrix.os }}
  25. strategy:
  26. matrix:
  27. os: [ubuntu-latest]
  28. node-version: [12.x]
  29. fail-fast: true
  30. steps:
  31. - uses: actions/checkout@v2
  32. - name: Use Node.js ${{matrix.node-version}}
  33. uses: actions/setup-node@v1
  34. with:
  35. node-version: ${{matrix.node-version}}
  36. - name: Install root modules
  37. run: yarn install --frozen-lockfile
  38. - name: Install modules
  39. run: yarn install --frozen-lockfile
  40. - name: Run ESLint
  41. run: yarn lint