Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

node-iojs.yml 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. name: 'Tests: node.js (io.js)'
  2. on: [pull_request, push]
  3. jobs:
  4. matrix:
  5. runs-on: ubuntu-latest
  6. outputs:
  7. latest: ${{ steps.set-matrix.outputs.requireds }}
  8. minors: ${{ steps.set-matrix.outputs.optionals }}
  9. steps:
  10. - uses: ljharb/actions/node/matrix@main
  11. id: set-matrix
  12. with:
  13. preset: 'iojs'
  14. latest:
  15. needs: [matrix]
  16. name: 'latest minors'
  17. runs-on: ubuntu-latest
  18. strategy:
  19. matrix: ${{ fromJson(needs.matrix.outputs.latest) }}
  20. steps:
  21. - uses: actions/checkout@v2
  22. - uses: ljharb/actions/node/run@main
  23. name: 'npm install && npm run tests-only'
  24. with:
  25. node-version: ${{ matrix.node-version }}
  26. command: 'tests-only'
  27. skip-ls-check: true
  28. minors:
  29. needs: [matrix, latest]
  30. name: 'non-latest minors'
  31. continue-on-error: true
  32. if: ${{ !github.head_ref || !startsWith(github.head_ref, 'renovate') }}
  33. runs-on: ubuntu-latest
  34. strategy:
  35. matrix: ${{ fromJson(needs.matrix.outputs.minors) }}
  36. steps:
  37. - uses: actions/checkout@v2
  38. - uses: ljharb/actions/node/run@main
  39. name: 'npm install && npm run tests-only'
  40. with:
  41. node-version: ${{ matrix.node-version }}
  42. command: 'tests-only'
  43. skip-ls-check: true
  44. node:
  45. name: 'io.js'
  46. needs: [latest, minors]
  47. runs-on: ubuntu-latest
  48. steps:
  49. - run: 'echo tests completed'