tests.yml 487 B

1234567891011121314151617181920212223242526
  1. name: Tests
  2. on: [push, pull_request]
  3. jobs:
  4. build:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. node-version: ["12", "14", "16"]
  9. steps:
  10. - uses: actions/checkout@v4
  11. - name: Use Node.js ${{ matrix.node-version }}
  12. uses: actions/setup-node@v4
  13. with:
  14. node-version: ${{ matrix.node-version }}
  15. - run: npm install
  16. - run: npm test
  17. - run: npm run check-typescript