0

Merge pull request #248 from mendableai/194-sdk-ci-pipeline-for-publishing-pythonnode-sdk

194 sdk ci pipeline for publishing pythonnode sdk
This commit is contained in:
Rafael Miller 2024-06-06 17:28:51 -03:00 committed by GitHub
commit 8bfec9e8de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,6 +106,19 @@ jobs:
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with: with:
python-version: '3.x' python-version: '3.x'
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
working-directory: ./apps/api
- name: Start the application
run: npm start &
working-directory: ./apps/api
id: start_app
- name: Start workers
run: npm run workers &
working-directory: ./apps/api
id: start_workers
- name: Install Python dependencies - name: Install Python dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
@ -126,6 +139,19 @@ jobs:
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "20" node-version: "20"
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
working-directory: ./apps/api
- name: Start the application
run: npm start &
working-directory: ./apps/api
id: start_app
- name: Start workers
run: npm run workers &
working-directory: ./apps/api
id: start_workers
- name: Install dependencies for JavaScript SDK - name: Install dependencies for JavaScript SDK
run: pnpm install run: pnpm install
working-directory: ./apps/js-sdk/firecrawl working-directory: ./apps/js-sdk/firecrawl