test.yml 357 B

123456789101112131415161718192021
  1. name: Test
  2. on:
  3. push:
  4. branches: ["master"]
  5. pull_request:
  6. branches: ["master"]
  7. jobs:
  8. test:
  9. runs-on: ubuntu-latest
  10. steps:
  11. - uses: actions/checkout@v3
  12. - name: Use Node.js 14.6.x
  13. uses: actions/setup-node@v3
  14. with:
  15. node-version: 14.6.x
  16. cache: "npm"
  17. - run: npm ci
  18. - run: npm test