File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,12 +19,12 @@ jobs:
1919
2020 - name : Lint backend
2121 run : |
22- if [ -d "backend" ]; then
23- cd backend
22+ if [ -d "app/ backend" ]; then
23+ cd app/ backend
2424 npm install eslint prettier --save-dev
25- echo "🔹 Lancement de ESLint..."
25+ echo "Lancement de ESLint..."
2626 npx eslint . --ext .js,.ts
27- echo "🔹 Vérification avec Prettier..."
27+ echo "Vérification avec Prettier..."
2828 npx prettier --check .
2929 cd ..
3030 else
@@ -34,12 +34,12 @@ jobs:
3434
3535 - name : Lint frontend
3636 run : |
37- if [ -d "frontend" ]; then
38- cd frontend
37+ if [ -d "app/ frontend" ]; then
38+ cd app/ frontend
3939 npm install eslint prettier --save-dev
40- echo "🔹 Lancement de ESLint..."
40+ echo "Lancement de ESLint..."
4141 npx eslint . --ext .js,.jsx
42- echo "🔹 Vérification avec Prettier..."
42+ echo "Vérification avec Prettier..."
4343 npx prettier --check .
4444 cd ..
4545 else
Original file line number Diff line number Diff line change 1919
2020 - name : Installer et tester le backend
2121 run : |
22- if [ -d "backend" ]; then
22+ if [ -d "app/ backend" ]; then
2323 echo "Installation des dépendances backend..."
24- cd backend
24+ cd app/ backend
2525 npm install
2626 echo "Lancement des tests backend..."
2727 npm test
3333
3434 - name : Installer et tester le frontend
3535 run : |
36- if [ -d "frontend" ]; then
36+ if [ -d "app/ frontend" ]; then
3737 echo "Installation des dépendances frontend..."
38- cd frontend
38+ cd app/ frontend
3939 npm install
4040 echo "Lancement des tests frontend..."
4141 npm test
You can’t perform that action at this time.
0 commit comments