ci.yml 448 B

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