Skip to content

Commit 9a4304e

Browse files
graycreatesatnaing
andauthored
build: specify pnpm version in package.json and ci.yml (satnaing#513)
Specify pnpm version in both `package.json` and `ci.yml` to avoid build errors during deployment. --------- Closes satnaing#512 Co-authored-by: satnaing <satnaingdev@gmail.com>
1 parent 3a9bbb6 commit 9a4304e

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: "📦 Install pnpm"
2727
uses: pnpm/action-setup@v4
2828
with:
29-
version: 10
29+
version: 10.11.1
3030

3131
- name: Use Node.js ${{ matrix.node-version }}
3232
uses: actions/setup-node@v4

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "astro-paper",
33
"type": "module",
44
"version": "5.2.0",
5+
"packageManager": "pnpm@10.11.1",
56
"scripts": {
67
"dev": "astro dev",
78
"build": "astro check && astro build && pagefind --site dist && cp -r dist/pagefind public/",

0 commit comments

Comments
 (0)