From 6bf4e79b22ab985aaf37f795c83c56bcb9861154 Mon Sep 17 00:00:00 2001 From: "Jens L." Date: Thu, 28 May 2026 13:51:01 +0200 Subject: [PATCH] ci: fix docs not having correct js version setup (2025.12) (#22717) --- .github/workflows/ci-api-docs.yml | 5 +++++ .github/workflows/ci-docs.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/ci-api-docs.yml b/.github/workflows/ci-api-docs.yml index 15f17f64b3..e10f7d4009 100644 --- a/.github/workflows/ci-api-docs.yml +++ b/.github/workflows/ci-api-docs.yml @@ -22,6 +22,11 @@ jobs: - prettier-check steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v5 + - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v5 + with: + node-version-file: website/package.json + cache: "npm" + cache-dependency-path: website/package-lock.json - name: Install Dependencies working-directory: website/ run: npm ci diff --git a/.github/workflows/ci-docs.yml b/.github/workflows/ci-docs.yml index f0c590d32f..4dab361a99 100644 --- a/.github/workflows/ci-docs.yml +++ b/.github/workflows/ci-docs.yml @@ -22,6 +22,11 @@ jobs: - prettier-check steps: - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v5 + - uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v5 + with: + node-version-file: website/package.json + cache: "npm" + cache-dependency-path: website/package-lock.json - name: Install dependencies working-directory: website/ run: npm ci