|
102 | 102 | secrets: |
103 | 103 | DATAVISYN_BOT_REPO_TOKEN: |
104 | 104 | required: false |
105 | | - NODE_VERSION: |
106 | | - required: false |
107 | | - PYTHON_VERSION: |
108 | | - required: false |
109 | 105 | ENV_PASSWORD: |
110 | 106 | required: false |
111 | 107 | CYPRESS_ENV: |
|
114 | 110 | required: false |
115 | 111 |
|
116 | 112 | env: |
117 | | - NPM_REGISTRY: "https://registry.npmjs.org/" |
118 | | - NODE_VERSION: ${{ vars.NODE_VERSION || '20.9' }} |
119 | | - PYPI_REGISTRY: "https://upload.pypi.org/legacy/" |
120 | | - PYPI_USERNAME: "datavisyn" |
121 | | - PYTHON_VERSION: ${{ vars.PYTHON_VERSION || '3.10' }} |
122 | | - WORKFLOW_BRANCH: "main" |
| 113 | + WORKFLOW_BRANCH: "mp/node_version" |
123 | 114 | POSTGRES_HOSTNAME: postgres_${{ github.job }}_${{ inputs.deduplication_id }}_${{ github.run_id }}_${{ github.run_attempt }} |
124 | 115 |
|
125 | 116 | permissions: |
@@ -161,9 +152,9 @@ jobs: |
161 | 152 | # We probably won't need Rust on Node builds... |
162 | 153 | # enable_rust: ${{ inputs.rust_enable }} |
163 | 154 | run_parallel: ${{ inputs.run_parallel }} |
164 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
165 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
166 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 155 | + node_version: ${{ vars.NODE_VERSION || inputs.node_version }} |
| 156 | + npm_registry: ${{ vars.NPM_REGISTRY }} |
| 157 | + python_version: ${{ vars.PYTHON_VERSION || inputs.python_version }} |
167 | 158 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
168 | 159 | run_node_bundle: ${{ inputs.node_run_webpack }} |
169 | 160 | enable_node_cache: ${{ inputs.runs_on != 'self-hosted' }} |
@@ -202,9 +193,9 @@ jobs: |
202 | 193 | enable_python: true |
203 | 194 | enable_rust: ${{ inputs.rust_enable }} |
204 | 195 | run_parallel: ${{ inputs.run_parallel }} |
205 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
206 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
207 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 196 | + node_version: ${{ vars.NODE_VERSION || inputs.node_version }} |
| 197 | + npm_registry: ${{ vars.NPM_REGISTRY }} |
| 198 | + python_version: ${{ vars.PYTHON_VERSION || inputs.python_version }} |
208 | 199 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
209 | 200 | run_node_bundle: ${{ inputs.node_run_webpack }} |
210 | 201 | enable_node_cache: ${{ inputs.runs_on != 'self-hosted' }} |
@@ -293,9 +284,9 @@ jobs: |
293 | 284 | with: |
294 | 285 | enable_rust: ${{ inputs.rust_enable }} |
295 | 286 | run_parallel: ${{ inputs.run_parallel }} |
296 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
297 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
298 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 287 | + node_version: ${{ vars.NODE_VERSION || inputs.node_version }} |
| 288 | + npm_registry: ${{ vars.NPM_REGISTRY }} |
| 289 | + python_version: ${{ vars.PYTHON_VERSION || inputs.python_version }} |
299 | 290 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
300 | 291 | run_node_bundle: false # Disable the build here and call afterwards, as otherwise the yarn run env:decrypt will fail due to a missing yarn install |
301 | 292 | enable_node_cache: ${{ inputs.cypress_runs_on != 'self-hosted' && inputs.runs_on != 'self-hosted' }} |
@@ -436,9 +427,9 @@ jobs: |
436 | 427 | with: |
437 | 428 | enable_rust: ${{ inputs.rust_enable }} |
438 | 429 | run_parallel: ${{ inputs.run_parallel }} |
439 | | - node_version: ${{ inputs.node_version || secrets.NODE_VERSION || env.NODE_VERSION }} |
440 | | - npm_registry: ${{ env.NPM_REGISTRY }} |
441 | | - python_version: ${{ inputs.python_version || secrets.PYTHON_VERSION || env.PYTHON_VERSION }} |
| 430 | + node_version: ${{ vars.NODE_VERSION || inputs.node_version }} |
| 431 | + npm_registry: ${{ vars.NPM_REGISTRY }} |
| 432 | + python_version: ${{ vars.PYTHON_VERSION || inputs.python_version }} |
442 | 433 | github_ro_token: ${{ github.event.repository.private == true && secrets.DATAVISYN_BOT_REPO_TOKEN || github.token }} |
443 | 434 | run_node_bundle: false # Disable the build here and call afterwards, as otherwise the yarn run env:decrypt will fail due to a missing yarn install |
444 | 435 | run_playwright_browser_install: true |
|
0 commit comments