Skip to content

Commit

Permalink
build: add engines.pnpm to package.json
Browse files Browse the repository at this point in the history
Only set a major version for pnpm in .github/workflows
  • Loading branch information
matijs committed Apr 25, 2024
1 parent 4dd76f4 commit 0c2bffe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/continuous-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install pnpm package manager
uses: pnpm/action-setup@v3.0.0
with:
version: 8.14
version: 8

- name: Set up Node.js version
uses: actions/setup-node@v4.0.2
Expand All @@ -41,7 +41,7 @@ jobs:
- uses: pnpm/action-setup@v3.0.0
name: Install pnpm package manager
with:
version: 8.14
version: 8

- name: Set up Node.js version
uses: actions/setup-node@v4.0.2
Expand All @@ -68,7 +68,7 @@ jobs:
- uses: pnpm/action-setup@v3.0.0
name: Install pnpm package manager
with:
version: 8.14
version: 8

- name: Set up Node.js version
uses: actions/setup-node@v4.0.2
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Install pnpm package manager
uses: pnpm/action-setup@v3.0.0
with:
version: 8.14
version: 8

- name: Set up Node.js version
uses: actions/setup-node@v4.0.2
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
],
"private": true,
"engines": {
"node": "^20"
"node": "^20",
"pnpm": "^8"
},
"workspaces": [
"./packages/*",
Expand Down

0 comments on commit 0c2bffe

Please sign in to comment.