You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run lint || echo "⚠️ ESLint не настроен, пропускаем"
95
95
continue-on-error: true
96
96
97
97
# Шаг 5: Проверка TypeScript
98
98
- name: 🔍 TypeScript check
99
99
run: |
100
-
cd frontend
100
+
cd graph-visualization-app/frontend
101
101
npx tsc --noEmit
102
102
103
103
# Шаг 6: Собрать production bundle
104
104
- name: 🔨 Build frontend
105
105
run: |
106
-
cd frontend
106
+
cd graph-visualization-app/frontend
107
107
npm run build
108
108
env:
109
109
NODE_OPTIONS: --openssl-legacy-provider
@@ -112,15 +112,15 @@ jobs:
112
112
# TODO: Раскомментировать когда создадите тесты
113
113
# - name: 🧪 Run tests
114
114
# run: |
115
-
# cd frontend
115
+
# cd graph-visualization-app/frontend
116
116
# npm test -- --coverage --watchAll=false
117
117
118
118
# Шаг 8: Сохранить build артефакты
119
119
- name: 📤 Upload build artifacts
120
120
uses: actions/upload-artifact@v4
121
121
with:
122
122
name: frontend-build
123
-
path: frontend/dist
123
+
path: graph-visualization-app/frontend/dist
124
124
retention-days: 7
125
125
126
126
# ==========================================
@@ -137,7 +137,7 @@ jobs:
137
137
# Backend: Проверка .NET зависимостей
138
138
- name: 🔒 Scan .NET dependencies
139
139
run: |
140
-
dotnet list backend/src/GraphVisualizationApp/GraphVisualizationApp.csproj package --vulnerable --include-transitive 2>&1 | tee dotnet-vulnerabilities.txt
140
+
dotnet list graph-visualization-app/backend/src/GraphVisualizationApp/GraphVisualizationApp.csproj package --vulnerable --include-transitive 2>&1 | tee dotnet-vulnerabilities.txt
141
141
if grep -q "has the following vulnerable packages" dotnet-vulnerabilities.txt; then
142
142
echo "⚠️ Найдены уязвимости в .NET зависимостях"
143
143
exit 1
@@ -147,7 +147,7 @@ jobs:
147
147
# Frontend: Проверка npm зависимостей
148
148
- name: 🔒 Scan npm dependencies
149
149
run: |
150
-
cd frontend
150
+
cd graph-visualization-app/frontend
151
151
npm audit --audit-level=moderate || echo "⚠️ Найдены уязвимости в npm пакетах"
0 commit comments