Pārlūkot izejas kodu

fix(ci): install the docs-pinned pnpm instead of floating on 11.x

pnpm/action-setup resolved 'version: 11' to the newest 11.x, and its self-installer crashes upgrading to 11.12.0 (Cannot use 'in' operator to search for 'integrity'), failing both docs workflows at setup. Reading docs/package.json instead installs the exact packageManager pin ([email protected]), which also keeps the workflows and the lockfile toolchain on a single source of truth.
MHSanaei 11 stundas atpakaļ
vecāks
revīzija
b11ceac18e
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      .github/workflows/docs-ci.yml
  2. 1 1
      .github/workflows/docs-deploy.yml

+ 1 - 1
.github/workflows/docs-ci.yml

@@ -26,7 +26,7 @@ jobs:
 
       - uses: pnpm/action-setup@v6
         with:
-          version: 11
+          package_json_file: docs/package.json
 
       - uses: actions/setup-node@v6
         with:

+ 1 - 1
.github/workflows/docs-deploy.yml

@@ -35,7 +35,7 @@ jobs:
       - uses: actions/checkout@v7
       - uses: pnpm/action-setup@v6
         with:
-          version: 11
+          package_json_file: docs/package.json
       - uses: actions/setup-node@v6
         with:
           node-version-file: .nvmrc