ci.yml 452 B

123456789101112131415161718192021222324252627
  1. name: ci
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. runs-on: ubuntu-latest
  6. strategy:
  7. matrix:
  8. node-version: [6.x, 8.x, 10.x, 12.x, 14.x]
  9. steps:
  10. - uses: actions/checkout@v1
  11. - name: Use Node.js
  12. uses: actions/setup-node@v1
  13. with:
  14. node-version: ${{ matrix.node-version }}
  15. - name: Install
  16. run: |
  17. npm install
  18. - name: Run tests
  19. run: |
  20. npm run ci