Commit Graph

67 Commits

Author SHA1 Message Date
mkorwel b255e904fd chore(ci): Optimize runner usage for lightweight jobs 2025-10-22 12:40:05 -07:00
mkorwel dc2aa1ead7 fix: Centralize workflow concurrency in orchestrator 2025-10-22 12:27:39 -07:00
mkorwel 17b3b264e6 refactor(ci): Remove redundant smoke test bundle steps
Removes the 'smoke test bundle' steps from the 'test_linux', 'test_mac', and 'test_windows' jobs in 'ci.yml'.

This step is redundant as the e2e workflow is responsible for testing the final bundled artifact.
2025-10-22 00:24:22 -07:00
mkorwel b4f6191704 ci: Set fail-fast to false for all matrix jobs
Updates the 'test_linux', 'test_mac', and 'test_windows' jobs in 'ci.yml' to explicitly set 'strategy.fail-fast' to 'false'.

This ensures that all matrix variations for each job will run to completion, even if one of the variations fails. This provides a more complete picture of test status across all supported Node.js versions.
2025-10-21 23:36:07 -07:00
mkorwel 2dde05deb0 refactor(ci): Move bundle size check to build workflow
Moves the bundle size check from a separate job in 'ci.yml' to a step within the 'publish-bundle' job in 'build-and-publish.yml'.

This is a more logical location for the check and completely resolves the race condition where the '.npmrc' file created by the bundle size job could interfere with parallel unit test jobs.
2025-10-21 23:28:22 -07:00
mkorwel 1a5742efec 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'.
2025-10-21 22:29:22 -07:00
mkorwel 56f1ffe14f refactor(ci): Use npm ci and remove published package install
Replaces the explicit GitHub Packages configuration and published package installation with 'npm ci' in the 'test_linux', 'test_mac', and 'test_windows' jobs within 'ci.yml'.

This streamlines the unit testing process by focusing on the source code dependencies and avoids misleadingly installing the published package in the unit test phase. The 'bundle_size' job retains its specific install as it requires the published artifact.
2025-10-21 22:23:36 -07:00
mkorwel e03570f99e fix(workflows): namespace concurrency groups
Prefixes the concurrency group names in 'ci.yml' and 'e2e.yml' with 'ci-' and 'e2e-' respectively.

This prevents the workflows from canceling each other out when they are triggered by the same orchestrator workflow, as the 'github.workflow' context variable was resolving to the same value for both.
2025-10-21 22:00:49 -07:00
mkorwel 33fc71b22e refactor(ci): centralize workflow permissions
Consolidates all job-level permissions into a single workflow-level block in 'ci.yml'.

This simplifies the workflow configuration and makes it easier to manage permissions. The workflow-level permissions now include all necessary permissions for the 'test_linux', 'test_mac', 'codeql', and 'bundle_size' jobs.
2025-10-21 21:54:38 -07:00
mkorwel f6727cc14f fix(workflows): Add packages:read permission and rename orchestrator
Adds 'packages: read' permission to the 'ci.yml' and 'e2e.yml' workflows. This is necessary to allow the jobs to download packages from the GitHub Packages registry, fixing the 403 Forbidden error during 'npm install'.

Also renames the 'orchestrator.yml' workflow from 'PR Checks' to 'Checks' for brevity.
2025-10-21 21:48:31 -07:00
mkorwel 2e0bf57e63 linting 2025-10-21 21:40:43 -07:00
mkorwel 27fceb9679 remove merge check 2025-10-21 21:29:37 -07:00
mkorwel a6c9eaabf6 Feat: Implement dynamic versioning and PR-based tagging for CI builds 2025-10-21 21:08:37 -07:00
mkorwel 4955b470db orchestrator 2025-10-21 20:07:37 -07:00
mkorwel ff3398f297 feat(ci): Implement orchestrator workflow for unified build and test 2025-10-21 19:21:59 -07:00
mkorwel 989352f557 feat: Add NOTICES.txt validation to CI workflow
fix: Update NOTICES.txt to reflect current dependencies
2025-10-21 16:35:56 -07:00
Shreya Keshive 8149a4546e feat(lint): add sensitive keyword linter (#10488) 2025-10-03 17:25:28 +00:00
Richie Foreman f76adec8a6 feat(ci): Add some very basic smoke testing to CI.yml (#10451) 2025-10-03 14:43:06 +00:00
shishu314 460ec60212 Fix(infra) - Give merge queue skipper read-all access (#10368)
Co-authored-by: Shi Shu <shii@google.com>
2025-10-02 17:15:25 +00:00
shishu314 d991c4607d feat(infra)- Use queue skipper for CI (#9773)
Co-authored-by: Shi Shu <shii@google.com>
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-09-30 18:58:56 +00:00
matt korwel 80a414be97 Mac required (#10007) 2025-09-27 00:23:48 +00:00
Shardul Natu 5cadd37eb2 fix(typo): Fix the commit sha of a mistyped action (#9310)
Co-authored-by: Shnatu <snatu@google.com>
2025-09-24 15:53:04 +00:00
matt korwel 3667ecf107 Test workflow dispatch (#9283)
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com>
2025-09-24 02:59:58 +00:00
matt korwel 1195072aae actually correct mac names (#8832) 2025-09-18 22:33:58 -07:00
matt korwel c434a7e682 remove merge queue skipper (#8819) 2025-09-18 22:07:47 -07:00
matt korwel c56d0ce6d2 ci fixes (#8810) 2025-09-19 04:01:21 +00:00
matt korwel b14a4f5ebc dealing with conflicts (#8772) 2025-09-18 17:33:08 -07:00
matt korwel 509444d059 Improve CI Times by 70% (#8530) 2025-09-18 16:29:40 -07:00
Richie Foreman 6dca8270bc feat(CI): Package docker containers to GHCR for PRs. (#8588) 2025-09-18 14:30:55 +00:00
Christie Warwick (Wilson) 9c71d3dd64 Skip bundle_size job for merge_group event (#8032) 2025-09-08 19:58:26 +00:00
joshualitt d30829116e bug(core): Fix Check Bundle Size github action. (#7833) 2025-09-07 19:04:16 +00:00
Pascal Birchler c38247ed5c Reduce bundle size & check it in CI (#7395) 2025-09-04 21:00:27 +00:00
ljxfstorm f80f7b445c Restore missing resolved and integrity of some dependencies and add check of lockfile integrity (#5336)
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com>
2025-08-29 16:43:56 +00:00
N. Taylor Mullen ad71cdab4c fix(ci): allow release branches to run (#7060) 2025-08-25 23:39:32 +00:00
Seth Vargo 22109db320 chore(ci): add global linter (#6111)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-08-13 18:56:10 +00:00
Seth Vargo 214800cfc6 chore(ci): Ensure ci workflows is consistent and not vulnerable to injection attacks (#6109) 2025-08-13 02:56:49 +00:00
Seth Vargo 5ee5cf17ba chore(ci): do not "fail fast" on Node tests (#6053) 2025-08-12 19:18:54 +00:00
Jacob Richman 804c181ac4 chore(integration-tests): refactor to typescript (#5645) 2025-08-12 16:19:09 +00:00
Tommaso Sciortino f9cfb20897 Run pre-merge checks in mac os as well as ubutnu+win (#4900) 2025-07-25 23:09:37 +00:00
Tommaso Sciortino 17331001a0 Run presubmit tests in windows as well as linux. (#4672)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-25 15:57:30 -07:00
Pascal Birchler ffa42a79dd chore: Expand node version test matrix (#2700)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-07-21 16:33:54 -07:00
Pascal Birchler ed00612cf7 chore: pin GitHub Actions to SHAs (#2987)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
2025-07-11 16:46:06 +00:00
Pascal Birchler 017a0a6c86 fix(gha): only post coverage comment for 22.x (#3613) 2025-07-09 18:25:48 +00:00
dependabot[bot] 5a50958f28 chore(deps): bump dorny/test-reporter from 1 to 2 (#3575)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhi <43648792+abhipatel12@users.noreply.github.com>
2025-07-09 05:46:24 +00:00
Pascal Birchler 2916753409 chore: add CodeQL analysis (#2992) 2025-07-09 00:23:51 +00:00
matt korwel 47dc16d243 feat: Update minimum Node.js version to 20 (#3277) 2025-07-05 14:55:15 +00:00
matt korwel 9a093e4b51 CI: Linting Fix (#1413)
Co-authored-by: Scott Densmore <scottdensmore@mac.com>
2025-06-25 04:18:51 +00:00
matt korwel db57d38d92 feat: add merge_group trigger to CI and E2E workflows (#1400) 2025-06-24 15:30:31 -07:00
matt korwel df938d6ee8 Preflight and integration npx (#1096) 2025-06-16 15:27:29 +00:00
N. Taylor Mullen f00b9f2727 feat(ci): run actions on the release branch (#1086) 2025-06-15 21:43:32 -07:00