@@ -31,13 +31,22 @@ jobs:
3131 uses : actions/checkout@v4
3232
3333 - name : 🔧 Setup Node.js
34- uses : actions/setup-node@v4
34+ uses : actions/setup-node@v3
3535 with :
3636 node-version : ${{ env.NODE_VERSION }}
3737 cache : ' npm'
3838
39+ - name : 🧹 Clean NPM Cache
40+ run : |
41+ npm cache clean --force
42+ echo "✅ NPM cache cleaned"
43+
3944 - name : 📦 Install Dependencies
40- run : npm ci
45+ run : |
46+ # Installation propre pour éviter les problèmes de cache
47+ rm -rf node_modules package-lock.json || true
48+ npm install
49+ npm ci
4150
4251 - name : 🧪 Health Tests
4352 run : |
8392 uses : actions/checkout@v4
8493
8594 - name : 🔧 Setup Node.js
86- uses : actions/setup-node@v4
95+ uses : actions/setup-node@v3
8796 with :
8897 node-version : ${{ env.NODE_VERSION }}
8998 cache : ' npm'
@@ -116,7 +125,7 @@ jobs:
116125 npm ls --depth=0 > dependency-tree.txt
117126
118127 - name : 📤 Upload Dependency Report
119- uses : actions/upload-artifact@v4
128+ uses : actions/upload-artifact@v3
120129 with :
121130 name : dependency-report
122131 path : |
@@ -212,7 +221,7 @@ jobs:
212221 echo "- All algorithms performing within expected ranges" >> $GITHUB_STEP_SUMMARY
213222
214223 - name : 📊 Store Performance History
215- uses : actions/upload-artifact@v4
224+ uses : actions/upload-artifact@v3
216225 with :
217226 name : performance-history-$(date +%Y%m%d)
218227 path : benchmark-results.txt
0 commit comments