Skip to content

Commit

Permalink
chore: add engine field to limit pnpm version
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed May 24, 2022
1 parent bb7cc1f commit 401c329
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 14

- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@
"arrowParens": "avoid",
"trailingComma": "none"
},
"engines": {
"node": ">= 14",
"pnpm": ">= 7"
},
"dependencies": {
"use-sync-external-store": "^1.1.0"
}
Expand Down

0 comments on commit 401c329

Please sign in to comment.