Skip to content

Commit

Permalink
test with setup-node in build-python
Browse files Browse the repository at this point in the history
  • Loading branch information
dvviktordelev committed May 14, 2024
1 parent a69678b commit 27c0217
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/actions/build-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ inputs:
runs:
using: "composite"
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ secrets.NODE_VERSION || env.NODE_VERSION || '20.9.0' }}
- name: Set up python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-node-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,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 27c0217

Please sign in to comment.