refactor(ci): Create reusable lint workflow and define dependencies

Creates a new reusable workflow, 'lint.yml', to handle all linting operations.

The main 'orchestrator.yml' is updated to use this new workflow. The dependency chain is now explicitly defined: 'lint' runs first, followed by 'build-and-publish' and 'ci' in parallel. The 'e2e' job remains dependent on 'build-and-publish'.

This change also removes the now-unused 'version' input from 'ci.yml' and corrects the 'bundle_size' job to use 'npm ci'.
This commit is contained in:
mkorwel
2025-10-21 22:29:22 -07:00
parent 56f1ffe14f
commit 1a5742efec
3 changed files with 36 additions and 10 deletions
+6 -3
View File
@@ -25,16 +25,19 @@ permissions:
id-token: 'write'
jobs:
lint:
name: 'Lint'
uses: './.github/workflows/lint.yml'
build-and-publish:
name: 'Build and Publish CI Bundle'
needs: 'lint'
uses: './.github/workflows/build-and-publish.yml'
ci:
name: 'CI Checks'
needs: 'build-and-publish'
needs: 'lint'
uses: './.github/workflows/ci.yml'
with:
version: '${{ needs.build-and-publish.outputs.version }}'
e2e:
name: 'E2E Checks'