companion.yml 501 B

123456789101112131415161718192021
  1. name: Companion
  2. on: [push, pull_request]
  3. jobs:
  4. test:
  5. name: Unit tests
  6. runs-on: ubuntu-latest
  7. strategy:
  8. matrix:
  9. node-version: [10.20.1, 12.x, 14.x]
  10. steps:
  11. - name: Checkout sources
  12. uses: actions/checkout@v2
  13. - name: Install Node.js
  14. uses: actions/setup-node@v2-beta
  15. with:
  16. node-version: ${{matrix.node-version}}
  17. - name: Install dependencies
  18. run: npm ci
  19. - name: Run tests
  20. run: npm run test:companion