dsanders11

#51744: ci: use gn-check script in gn-check job

Merged
Created: May 21, 2026, 10:32:43 PM
Merged: May 26, 2026, 11:15:09 AM
1 comments
Target: main

Description of Change

Use the existing gn-check script instead of doing individual calls to gn check which can get out of date (which happened here). The change to the ordering of the DEPOT_TOOLS_WIN_TOOLCHAIN environment variable is because we set it to 0 as a default if it's not set, not to override the value in the environment (build-tools uses the toolchain).

Checklist

Release Notes

Notes: none

Backports

No Backports Requested

This pull request doesn't have any backports requested or created for older release branches.

What are backports?

Backports are copies of changes made to the main branch that are applied to older release branches. They ensure that bug fixes and important changes are available in maintained older versions of Electron.

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron