Skip to content

Migrate to yarn to avoid npm workarounds - #5503

Merged
lornajane merged 3 commits into
OAI:mainfrom
handrews:yarn-package-management
Aug 20, 2026
Merged

Migrate to yarn to avoid npm workarounds#5503
lornajane merged 3 commits into
OAI:mainfrom
handrews:yarn-package-management

Conversation

@handrews

@handrews handrews commented Aug 18, 2026

Copy link
Copy Markdown
Member

See OAI/build-infra#24 for the explanation. NPM has too many weirdnesses with platform-specific issues and interactions with GitHub. Yarn is well-established, well-supported by GitHub, and does not have these problems.

With the latest commit (pushed after opening), this also adds CI tests for the build as we discussed in last week's TDC call: published locations only on main, dev builds on other branches.

Note: We should merge the build-infra PR first!

  • no schema changes are needed for this pull request

handrews and others added 2 commits August 18, 2026 12:12
Co-authored-by: Codex <codex@openai.com>
Co-authored-by: Codex <codex@openai.com>
@handrews
handrews requested review from a team as code owners August 18, 2026 20:00
Co-authored-by: Codex <codex@openai.com>
@miqui

miqui commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@handrews yeah, yarn is a good choice.


- uses: actions/setup-node@v7
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"

@@ -35,8 +35,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"

@@ -38,8 +38,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"

@@ -27,10 +27,13 @@ jobs:
with:
node-version: '24.x'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: '24.x'
node-version: '24.x'
cache: 'yarn'

@@ -21,8 +21,11 @@ jobs:
with:
node-version: "24.x"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
node-version: "24.x"
node-version: "24.x"
cache: "yarn"

@whitlockjc

Copy link
Copy Markdown
Member

👍

@lornajane
lornajane merged commit 46c1076 into OAI:main Aug 20, 2026
3 checks passed
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.

5 participants