Skip to content

Commit 30f4b57

Browse files
committed
Fix CI node version and reinstall deps
1 parent 063fd90 commit 30f4b57

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,21 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1414

15-
- uses: actions/setup-node@v3
15+
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 18
17+
node-version: '20.19'
18+
cache: 'npm'
1819

19-
- name: Install client dependencies
20-
run: cd client && npm install --legacy-peer-deps
20+
- name: Clean npm cache and reinstall dependencies
21+
run: |
22+
cd client
23+
rm -rf node_modules package-lock.json
24+
npm cache clean --force
25+
npm install
2126
2227
- name: Build client
23-
run: cd client && npm run build
28+
run: |
29+
cd client
30+
npm run build

0 commit comments

Comments
 (0)