Skip to content

Commit 6bbaee1

Browse files
committed
Updated yaml
1 parent 714cccd commit 6bbaee1

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,15 @@ jobs:
2323
- name: Setup Node.js
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: "18"
27-
cache: "npm"
26+
node-version: "20"
27+
28+
- name: Clear npm cache
29+
run: npm cache clean --force
2830

2931
- name: Install dependencies
30-
run: npm ci
32+
run: |
33+
rm -rf node_modules package-lock.json
34+
npm install --legacy-peer-deps
3135
3236
- name: Build
3337
run: npm run build

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@
66
"dev": "vite",
77
"build": "vite build",
88
"preview": "vite preview"
9+
},
10+
"overrides": {
11+
"rollup": "^4.0.0"
912
},
1013
"dependencies": {
1114
"react": "^18.2.0",
1215
"react-dom": "^18.2.0",
1316
"react-icons": "^5.5.0"
1417
},
18+
1519
"devDependencies": {
1620
"@vitejs/plugin-react": "^4.6.0",
1721
"autoprefixer": "^10.4.14",

0 commit comments

Comments
 (0)