Skip to content

Commit

Permalink
chore: 增加volta配置
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertLin0923 committed Jul 18, 2024
1 parent bd0d2ce commit 8becc0e
Show file tree
Hide file tree
Showing 3 changed files with 15,193 additions and 13,161 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8.12.1
version: 9.4.0

- name: Set node version to 20.10.0
- name: Set node version to 20.15.0
uses: actions/setup-node@v3
with:
node-version: 20.10.0
node-version: 20.15.0
registry-url: https://registry.npmjs.org/
cache: 'pnpm'

Expand Down
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@
"vitest": "^1.0.2"
},
"engines": {
"node": ">=18",
"pnpm": ">=8"
"node": "=20.15.0",
"pnpm": "=9.4.0"
},
"volta": {
"node": "20.15.0",
"pnpm": "9.4.0"
}
}
Loading

0 comments on commit 8becc0e

Please sign in to comment.