From 01b348c86ba6268459f3629a9268a8ff9bae10f3 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Wed, 11 Feb 2026 14:07:57 -0800 Subject: [PATCH] ci: install Node.js and Yarn inside container for metadata-regen The metadata-regen job runs inside the px4io/px4-dev container which has no Node.js. The actions/setup-node action only installs on the host runner, not inside the container, causing yarn: not found errors. Replace actions/setup-node with direct Node.js installation via NodeSource and enable corepack for Yarn support. Signed-off-by: Ramon Roche --- .github/workflows/docs-orchestrator.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs-orchestrator.yml b/.github/workflows/docs-orchestrator.yml index e3c7fd1371..afca6f5e15 100644 --- a/.github/workflows/docs-orchestrator.yml +++ b/.github/workflows/docs-orchestrator.yml @@ -178,12 +178,11 @@ jobs: env: CCACHE_DIR: ~/.ccache - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: npm - cache-dependency-path: ./docs/yarn.lock + - name: Install Node.js and Yarn + run: | + curl -fsSL https://deb.nodesource.com/setup_20.x | bash - + apt-get install -y nodejs + corepack enable - name: Format markdown with Prettier run: |