chore(deps): update dependency node to v24 #14544
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| merge_group: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - rolling-release-* | |
| - v[0-9]+.[0-9]+.[0-9]+ | |
| - v[0-9]+.[0-9]+.[0-9]+-* | |
| paths: | |
| - ".github/**" | |
| - "**/*.ml*" | |
| - "**/*.liq" | |
| - "**/src/js/*" | |
| - "**/dune" | |
| - "**/dune.inc" | |
| - "doc/**" | |
| - "dune-project" | |
| - "scripts/**" | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build_details: | |
| runs-on: depot-ubuntu-24.04-4 | |
| outputs: | |
| branch: ${{ steps.build_details.outputs.branch }} | |
| sha: ${{ steps.build_details.outputs.sha }} | |
| is_release: ${{ steps.build_details.outputs.is_release }} | |
| is_rolling_release: ${{ steps.build_details.outputs.is_rolling_release }} | |
| is_fork: ${{ steps.build_details.outputs.is_fork }} | |
| publish_docker_image: ${{ steps.build_details.outputs.is_fork != 'true' && github.event_name != 'merge_group' }} | |
| build_os: ${{ steps.build_details.outputs.build_os }} | |
| build_platform: ${{ steps.build_details.outputs.build_platform }} | |
| build_include: ${{ steps.build_details.outputs.build_include }} | |
| docker_release: ${{ steps.build_details.outputs.docker_release }} | |
| minimal_exclude_deps: ${{ steps.build_details.outputs.minimal_exclude_deps }} | |
| save_traces: ${{ steps.build_details.outputs.save_traces }} | |
| is_snapshot: ${{ steps.build_details.outputs.is_snapshot }} | |
| ocaml_version: ${{ steps.build_details.outputs.ocaml_version }} | |
| ocaml_docker_release_version: ${{ steps.build_details.outputs.ocaml_docker_release_version }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Get build details | |
| env: | |
| IS_FORK: ${{ github.event.pull_request.head.repo.fork == true }} | |
| run: .github/scripts/build-details.sh | |
| id: build_details | |
| build_no_depopts: | |
| uses: ./.github/workflows/build-no-depopts.yml | |
| needs: build_details | |
| with: | |
| sha: ${{ github.sha }} | |
| minimal_exclude_deps: ${{ needs.build_details.outputs.minimal_exclude_deps }} | |
| build_js: | |
| uses: ./.github/workflows/js.yml | |
| needs: build_details | |
| with: | |
| sha: ${{ github.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| parsers: | |
| uses: ./.github/workflows/parsers.yml | |
| build_opam: | |
| uses: ./.github/workflows/build-opam.yml | |
| run_tests: | |
| uses: ./.github/workflows/tests.yml | |
| needs: build_details | |
| with: | |
| sha: ${{ github.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| is_fork: ${{ needs.build_details.outputs.is_fork }} | |
| save_traces: ${{ needs.build_details.outputs.save_traces }} | |
| secrets: | |
| LIQUIDSOAP_TEST_REPO_TOKEN: ${{ secrets.LIQUIDSOAP_TEST_REPO_TOKEN }} | |
| build_posix: | |
| uses: ./.github/workflows/build-posix.yml | |
| needs: build_details | |
| with: | |
| sha: ${{ github.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| is_fork: ${{ needs.build_details.outputs.is_fork }} | |
| is_rolling_release: ${{ needs.build_details.outputs.is_rolling_release }} | |
| is_release: ${{ needs.build_details.outputs.is_release }} | |
| is_snapshot: ${{ needs.build_details.outputs.is_snapshot }} | |
| build_os: ${{ needs.build_details.outputs.build_os }} | |
| build_platform: ${{ needs.build_details.outputs.build_platform }} | |
| build_include: ${{ needs.build_details.outputs.build_include }} | |
| ocaml_version: ${{ needs.build_details.outputs.ocaml_version }} | |
| minimal_exclude_deps: ${{ needs.build_details.outputs.minimal_exclude_deps }} | |
| build_win32: | |
| uses: ./.github/workflows/build-win32.yml | |
| needs: build_details | |
| with: | |
| sha: ${{ github.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| is_rolling_release: ${{ needs.build_details.outputs.is_rolling_release }} | |
| is_release: ${{ needs.build_details.outputs.is_release }} | |
| is_snapshot: ${{ needs.build_details.outputs.is_snapshot }} | |
| update_doc: | |
| uses: ./.github/workflows/doc.yml | |
| needs: [build_details, build_js] | |
| if: github.event_name != 'pull_request' && github.repository_owner == 'savonet' && needs.build_details.outputs.branch == 'main' | |
| with: | |
| sha: ${{ github.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| secrets: | |
| WEBSITE_TOKEN: ${{ secrets.WEBSITE_TOKEN }} | |
| update_release: | |
| uses: ./.github/workflows/release.yml | |
| needs: | |
| [ | |
| build_details, | |
| build_no_depopts, | |
| build_js, | |
| run_tests, | |
| build_posix, | |
| build_win32, | |
| ] | |
| if: needs.build_details.outputs.is_release == 'true' | |
| with: | |
| sha: ${{ needs.build_details.outputs.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| is_rolling_release: ${{ needs.build_details.outputs.is_rolling_release }} | |
| secrets: | |
| LIQUIDSOAP_RELEASE_ASSETS_TOKEN: ${{ secrets.LIQUIDSOAP_RELEASE_ASSETS_TOKEN }} | |
| build_docker: | |
| uses: ./.github/workflows/docker.yml | |
| needs: [build_details, build_posix, run_tests] | |
| with: | |
| sha: ${{ needs.build_details.outputs.sha }} | |
| branch: ${{ needs.build_details.outputs.branch }} | |
| is_fork: ${{ needs.build_details.outputs.is_fork }} | |
| publish_docker_image: ${{ needs.build_details.outputs.publish_docker_image }} | |
| docker_release: ${{ needs.build_details.outputs.docker_release }} | |
| build_platform: ${{ needs.build_details.outputs.build_platform }} | |
| build_include: ${{ needs.build_details.outputs.build_include }} | |
| ocaml_version: ${{ needs.build_details.outputs.ocaml_version }} | |
| ocaml_docker_release_version: ${{ needs.build_details.outputs.ocaml_docker_release_version }} | |
| secrets: | |
| DOCKERHUB_USER: ${{ secrets.DOCKERHUB_USER }} | |
| DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }} |