You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
568 B

4 years ago
  1. name: 'Tests: pretest/posttest'
  2. on: [pull_request, push]
  3. jobs:
  4. pretest:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - uses: ljharb/actions/node/run@main
  9. name: 'npm install && npm run pretest'
  10. with:
  11. node-version: 'lts/*'
  12. command: 'pretest'
  13. posttest:
  14. runs-on: ubuntu-latest
  15. steps:
  16. - uses: actions/checkout@v2
  17. - uses: ljharb/actions/node/run@main
  18. name: 'npm install && npm run posttest'
  19. with:
  20. node-version: 'lts/*'
  21. command: 'posttest'