test-node.yml 497 B

123456789101112131415161718192021222324
  1. name: Build Status
  2. on:
  3. push:
  4. branches:
  5. - master
  6. pull_request:
  7. branches:
  8. - master
  9. jobs:
  10. build:
  11. strategy:
  12. matrix:
  13. node-version: [14.x]
  14. os: [ubuntu-16.04, macos-latest, windows-latest]
  15. runs-on: ${{ matrix.os }}
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Use Node.js ${{ matrix.node-version }}
  19. uses: actions/setup-node@v1
  20. with:
  21. node-version: ${{ matrix.node-version }}
  22. - run: npm install
  23. - run: npm test