Add initial setup for React and Vite application #4

Merged
RaiLinKey merged 6 commits from fix into test 2026-03-24 12:37:11 +03:00
Showing only changes of commit a06a9f585b - Show all commits

View File

@@ -65,8 +65,12 @@ jobs:
- name: Create archives
run: |
zip -r api.zip api/ -x "*.pyc" "*__pycache__*" "*.git*" "*.pytest_cache*"
zip -r web.zip web/ -x "node_modules/*" ".git*" "dist/*" "*.log"
echo "Creating api.zip..."
zip -r api.zip api/ -x "*.pyc" "*__pycache__*" "*.git*" "*.pytest_cache*" || echo "Warning: zip command failed for api"
echo "Creating web.zip..."
zip -r web.zip web/ -x "node_modules/*" ".git*" "dist/*" "*.log" || echo "Warning: zip command failed for web"
# Проверяем, что файлы созданы
ls -la api.zip web.zip
- name: Upload artifacts
uses: actions/upload-artifact@v4
@@ -76,6 +80,7 @@ jobs:
api.zip
web.zip
retention-days: 7
if-no-files-found: error # добавим, чтобы явно указывать, что файлы обязательны
# Явный статус для PR
pr-status: