Skip to content

Commit

Permalink
add need build-node to build-python
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed May 14, 2024
1 parent 3ef8c44 commit f4cb084
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,15 @@ jobs:
npm_registry: ${{ env.NPM_REGISTRY }}
github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
run_webpack: ${{ inputs.node_run_webpack }}
#enable_cache: ${{ inputs.runs_on != 'self-hosted' }}
enable_cache: ${{ inputs.runs_on != 'self-hosted' }}
- name: Run Chromatic
if: ${{ inputs.chromatic_enable }}
uses: chromaui/[email protected]
with:
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}

build-python:
needs: build-node
name: Python
if: ${{ (!inputs.cypress_enable || (!inputs.cypress_run_because_flag && inputs.cypress_run_because_branch != 'true')) && (!inputs.playwright_enable || (!inputs.playwright_run_because_flag && inputs.playwright_run_because_branch != 'true')) }}
concurrency:
Expand All @@ -167,7 +168,7 @@ jobs:
with:
python_version: ${{ secrets.PYTHON_VERSION || env.PYTHON_VERSION }}
github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }}
#enable_cache: ${{ inputs.runs_on != 'self-hosted' }}
enable_cache: ${{ inputs.runs_on != 'self-hosted' }}

# If cypress is used, build node and python sequentially as it is avoiding the duplicate install overhead
build-node-python-cypress:
Expand Down

0 comments on commit f4cb084

Please sign in to comment.