Skip to content

Commit

Permalink
chore: 升级 pnpm 和 ci 脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
maomao1996 committed Jul 20, 2024
1 parent e97efd9 commit e0bcc0d
Show file tree
Hide file tree
Showing 3 changed files with 2,951 additions and 2,403 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ jobs:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
uses: pnpm/action-setup@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"packages-version": "changeset version",
"prepare": "husky install"
},
"packageManager": "[email protected]",
"lint-staged": {
"*.{html,js,ts,tsx,vue,css,md,json,yaml}": [
"prettier --write"
Expand Down
Loading

0 comments on commit e0bcc0d

Please sign in to comment.