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

node-zero.yml 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. name: 'Tests: node.js (0.x)'
  2. on: [pull_request, push]
  3. jobs:
  4. matrix:
  5. runs-on: ubuntu-latest
  6. outputs:
  7. stable: ${{ steps.set-matrix.outputs.requireds }}
  8. unstable: ${{ steps.set-matrix.outputs.optionals }}
  9. steps:
  10. - uses: ljharb/actions/node/matrix@main
  11. id: set-matrix
  12. with:
  13. preset: '0.x'
  14. stable:
  15. needs: [matrix]
  16. name: 'stable minors'
  17. runs-on: ubuntu-latest
  18. strategy:
  19. matrix: ${{ fromJson(needs.matrix.outputs.stable) }}
  20. steps:
  21. - uses: actions/checkout@v2
  22. - uses: ljharb/actions/node/run@main
  23. with:
  24. node-version: ${{ matrix.node-version }}
  25. command: 'tests-only'
  26. cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
  27. skip-ls-check: true
  28. unstable:
  29. needs: [matrix, stable]
  30. name: 'unstable 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.unstable) }}
  36. steps:
  37. - uses: actions/checkout@v2
  38. - uses: ljharb/actions/node/run@main
  39. with:
  40. node-version: ${{ matrix.node-version }}
  41. command: 'tests-only'
  42. cache-node-modules-key: node_modules-${{ github.workflow }}-${{ github.action }}-${{ github.run_id }}
  43. skip-ls-check: true
  44. node:
  45. name: 'node 0.x'
  46. needs: [stable, unstable]
  47. runs-on: ubuntu-latest
  48. steps:
  49. - run: 'echo tests completed'