tests.yml 520 B

12345678910111213141516171819202122
  1. name: Tests
  2. on: [push, pull_request]
  3. jobs:
  4. lint:
  5. name: Tests
  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 Jest
  21. run: yarn test