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.

17 lines
394 B

  1. name: CI
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Test using Node.js
  9. uses: actions/setup-node@v1
  10. with:
  11. node-version: '12'
  12. - name: npm install, build, and test
  13. run: |
  14. npm ci
  15. npm run build --if-present
  16. npm test
  17. env:
  18. CI: true