checks.yml 512 B

12345678910111213141516171819202122
  1. name: Checks
  2. on: [push, pull_request]
  3. jobs:
  4. checks:
  5. name: Checks
  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 npm packages
  19. run: npm ci
  20. - name: Run checks
  21. run: npm run checks