feat(fleet): implement F1-F7 dispatch-path fixes #11
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
| # Optional companion to `ci.yml`. Drop in alongside it when your | |
| # project supports multiple runtimes / OS combinations and you want | |
| # coverage across all of them without paying per-PR. | |
| # | |
| # Strategy: PR-time `ci.yml` runs the primary runtime only (cheap). | |
| # This workflow runs the full matrix on the weekly schedule, and | |
| # on-demand via `workflow_dispatch` before a release. Per-PR opt-in | |
| # is available by applying the `needs-ci-full` label to a PR. | |
| # | |
| # Customize the matrix rows below to match your supported runtimes. | |
| name: CI (full matrix) | |
| on: | |
| schedule: | |
| - cron: '15 4 * * 1' | |
| workflow_dispatch: | |
| pull_request: | |
| types: [labeled, synchronize] | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-full-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: test (node ${{ matrix.node }}) | |
| # PR runs only fire when the `needs-ci-full` label is present. | |
| # Schedule and workflow_dispatch always run. | |
| if: >- | |
| github.event_name != 'pull_request' || | |
| contains(github.event.pull_request.labels.*.name, 'needs-ci-full') || | |
| (github.event.action == 'labeled' && github.event.label.name == 'needs-ci-full') | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [18, 22] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| # Replace below with your build/test/lint steps. Keep them parallel | |
| # to `ci.yml` so the weekly matrix matches what runs per-PR. | |
| - name: Project verification placeholder | |
| run: echo "Replace this step with your build/test/lint commands." |