Skip to content

Conversation

matthewbastien
Copy link
Member

There was a bunch of code that checks for process.env.CI === "1" (or variations of that). Consolidated all of these checks into a utility called IS_RUNNING_IN_CI that will get optimized out of production builds using esbuild's --define command line argument.

@matthewbastien matthewbastien merged commit 97a560f into swiftlang:main May 22, 2025
18 checks passed
@matthewbastien matthewbastien deleted the remove-ci-checks-from-production branch May 22, 2025 19:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants