Skip to content

ci: deploy: Install yarn through npm - #189

Merged
patrickelectric merged 1 commit into
bluerobotics:masterfrom
vshie:fix-yarn-install
Nov 19, 2026
Merged

patrickelectric merged 1 commit into
bluerobotics:masterfrom
vshie:fix-yarn-install

Conversation

@vshie

@vshie vshie commented Nov 19, 2026

Copy link
Copy Markdown
Collaborator

The Consolidate and Deploy workflow has failed on every run since 2026-11-14, including the daily scheduled deploy on master and every pull request. It fails in the Install step:

sudo apt install -y yarn
Error: Unable to locate package yarn

The last successful run used runner image ubuntu-24.04 version 20261028. The failures started with 20261103, which no longer provides a yarn apt package. Because Install fails, the manifest isn't rebuilt and the website isn't redeployed, so no extension changes are published.

Change

  • Set up Node explicitly with actions/setup-node@v4 (Node 20), so the website build (Vite / vue-tsc) runs on a pinned Node version instead of whatever the runner image ships.
  • Install Yarn with npm install --global yarn@1, which doesn't depend on an apt source. It's pinned to Yarn 1.x because website/yarn.lock is a v1 lockfile and the build uses yarn install --frozen-lockfile.

No other steps change. This PR's own run of Consolidate and Deploy is the test: on pull_request it runs Install, Build manifest and Build website, and skips the deploy.

This also unblocks the open extension PRs, e.g. #188.

🤖 Generated with Claude Code

The runner images no longer provide a yarn apt package, so 'sudo apt install -y yarn' fails with 'Unable to locate package yarn' and every run stops at Install. Set up Node explicitly and install Yarn 1.x (the website uses a v1 lockfile) with npm instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vshie vshie mentioned this pull request Nov 19, 2026

@patrickelectric patrickelectric left a comment

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.

we should move to bun, but that's a working fix.
Thanks!

@patrickelectric
patrickelectric merged commit f11a2f7 into bluerobotics:master Nov 19, 2026
2 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.

2 participants