Skip to content

Commit

Permalink
chore: 🔨 update pnpm and node version requirements, reinstall depende… (
Browse files Browse the repository at this point in the history
xun082#51)

* chore: 🔨 update pnpm and node version requirements, reinstall dependencies

* fix: 🧩 fix ci error

* feat: 🚀 add vercel.json file

* fix: 🧩 change pnpm version fix vercel build error

* fix: 🧩 modify the pnpm version in github acion
  • Loading branch information
xun082 authored Jul 10, 2024
1 parent 93bd294 commit a452d6f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: ^8.9.0
version: ^9.4.0

- name: Install Deps
run: pnpm i --no-frozen-lockfile
Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shamefully-hoist=true
package-manager=pnpm@9.4.0
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,10 @@
"extends": [
"plugin:storybook/recommended"
]
}
},
"engines": {
"node": ">=18",
"pnpm": "9.4.0"
},
"engineStrict": true
}
8 changes: 8 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"build": {
"env": {
"NODE_VERSION": "18.x",
"PNPM_VERSION": "9.4.0"
}
}
}

0 comments on commit a452d6f

Please sign in to comment.