feature/improve-tag-organization-ux #8

Merged
pkartch merged 22 commits from feature/improve-tag-organization-ux into main 2026-01-17 06:13:39 +00:00
Showing only changes of commit ba1ab277df - Show all commits

View File

@@ -66,25 +66,19 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Python and dependencies
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install Python dependencies
run: |
# Try to install Python and pip if needed
if ! command -v python3 &> /dev/null; then
echo "Python3 not found, attempting to install..."
if command -v apt-get &> /dev/null; then
apt-get update -qq && apt-get install -y -qq python3 python3-pip
elif command -v apk &> /dev/null; then
apk add --no-cache python3 py3-pip
else
echo "No package manager found, trying to continue without Python installation..."
fi
fi
# Install recipe-scrapers using python3 -m pip (more reliable than pip3 command)
if command -v python3 &> /dev/null; then
python3 -m pip install --user recipe-scrapers || pip3 install --user recipe-scrapers || echo "Warning: Could not install recipe-scrapers"
else
echo "Warning: Python3 not available, scraper tests will be skipped"
fi
python3 -m pip install --upgrade pip
python3 -m pip install recipe-scrapers
- name: Verify Python dependencies
run: |
python3 -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
- name: Install dependencies
run: npm ci