diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 5e1a2a5..58fa6e8 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -25,10 +25,10 @@ jobs: # The sitemap's and the dates on doc pages come from git history. fetch-depth: 0 + # The pnpm version comes from package.json's packageManager, the same one + # a local `pnpm` switches to - name: Setup pnpm uses: pnpm/action-setup@v4 - with: - version: 10 - name: Setup Node uses: actions/setup-node@v4 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 22232ce..0d12c3e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -32,10 +32,10 @@ jobs: # history; a shallow clone would leave them out. fetch-depth: 0 + # The pnpm version comes from package.json's packageManager, the same one + # a local `pnpm` switches to - name: Setup pnpm uses: pnpm/action-setup@v4 - with: - version: 10 - name: Setup Node uses: actions/setup-node@v4 diff --git a/package.json b/package.json index bfb5581..6f9cd71 100644 --- a/package.json +++ b/package.json @@ -42,5 +42,6 @@ "sharp": "^0.34.5", "shiki": "^4.0.2", "typescript": "^5.7.0" - } + }, + "packageManager": "pnpm@10.34.6" }