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