npm_test.yml 473 B

1234567891011121314151617181920
  1. name: npm_test
  2. on: [pull_request, push]
  3. jobs:
  4. npm_test:
  5. runs-on: ${{ matrix.os }}
  6. strategy:
  7. matrix:
  8. os: [macos-latest, ubuntu-latest, windows-latest]
  9. steps:
  10. - uses: actions/checkout@v2
  11. - uses: actions/setup-node@v2
  12. with:
  13. node-version: '17'
  14. - run: npm install
  15. - run: npm test
  16. - name: Upload bin folder
  17. uses: actions/upload-artifact@v2
  18. with:
  19. name: bin
  20. path: bin/