feature/improve-tag-organization-ux #8
@@ -66,23 +66,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ env.NODE_VERSION }}
|
node-version: ${{ env.NODE_VERSION }}
|
||||||
|
|
||||||
- name: Setup Python dependencies
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v6
|
||||||
|
with:
|
||||||
|
python-version: '3.11'
|
||||||
|
cache: 'pip'
|
||||||
|
|
||||||
|
- name: Install Python dependencies
|
||||||
run: |
|
run: |
|
||||||
# node:20-bookworm has Python 3.11 but not pip by default
|
pip install -r packages/api/requirements.txt
|
||||||
python3 --version
|
python -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
|
||||||
|
|
||||||
# Install pip using get-pip.py if pip module not available
|
|
||||||
if ! python3 -m pip --version 2>/dev/null; then
|
|
||||||
echo "Installing pip..."
|
|
||||||
curl -sS https://bootstrap.pypa.io/get-pip.py | python3 - --user
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install recipe-scrapers
|
|
||||||
python3 -m pip install --user recipe-scrapers
|
|
||||||
|
|
||||||
# Verify installation
|
|
||||||
python3 -c "import recipe_scrapers; print('✓ recipe-scrapers installed successfully')"
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
1
packages/api/requirements.txt
Normal file
1
packages/api/requirements.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
recipe-scrapers>=15.0.0
|
||||||
Reference in New Issue
Block a user