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 38faec32f1 - Show all commits

View File

@@ -63,24 +63,25 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Create archives
run: |
echo "Creating full-build.zip with api and web..."
# Создаём единый архив, включающий папки api и web, с исключениями
zip -r full-build.zip api/ web/ \
-x "api/*.pyc" "api/*__pycache__*" "api/.git*" "api/.pytest_cache*" \
-x "web/node_modules/*" "web/.git*" "web/dist/*" "web/*.log" \
|| echo "Warning: zip command had issues"
# Проверяем, что файл создан
ls -la full-build.zip
# - name: Create archives
# run: |
# echo "Creating full-build.zip with api and web..."
# # Создаём единый архив, включающий папки api и web, с исключениями
# zip -r full-build.zip api/ web/ \
# -x "api/*.pyc" "api/*__pycache__*" "api/.git*" "api/.pytest_cache*" \
# -x "web/node_modules/*" "web/.git*" "web/dist/*" "web/*.log" \
# || echo "Warning: zip command had issues"
# # Проверяем, что файл создан
# ls -la full-build.zip
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts-${{ github.run_id }}
path: full-build.zip
path: |
api/
web/
retention-days: 7
if-no-files-found: error
# Явный статус для PR
pr-status: