|
79 | 79 | test-deploy-webpack: |
80 | 80 | name: Run Deploy Tests (Webpack) |
81 | 81 | needs: setup |
| 82 | + if: ${{ github.event.inputs.deployScriptPath == '' }} |
82 | 83 | uses: ./.github/workflows/build_reusable.yml |
83 | 84 | secrets: inherit |
84 | 85 | strategy: |
@@ -137,6 +138,8 @@ jobs: |
137 | 138 | NEXT_EXTERNAL_TESTS_FILTERS="test/deploy-tests-manifest.json" \ |
138 | 139 | NEXT_TEST_VERSION="${{ github.event.inputs.nextVersion || needs.setup.outputs.next-version || 'canary' }}" \ |
139 | 140 | VERCEL_CLI_VERSION="${{ github.event.inputs.vercelCliVersion || 'vercel@latest' }}" \ |
| 141 | + NEXT_TEST_DEPLOY_SCRIPT_PATH="${{ github.event.inputs.deployScriptPath || '' }}" \ |
| 142 | + NEXT_TEST_DEPLOY_LOGS_SCRIPT_PATH="${{ github.event.inputs.deployLogsScriptPath || '' }}" \ |
140 | 143 | node run-tests.js --timings -g ${{ matrix.group }} -c 2 --type e2e |
141 | 144 | skipNativeBuild: 'yes' |
142 | 145 | skipNativeInstall: 'no' |
@@ -189,7 +192,7 @@ jobs: |
189 | 192 |
|
190 | 193 | report-test-results-to-datadog: |
191 | 194 | needs: [test-deploy-turbopack, test-deploy-webpack] |
192 | | - if: ${{ always() }} |
| 195 | + if: ${{ always() && github.event.inputs.deployScriptPath == '' }} |
193 | 196 |
|
194 | 197 | runs-on: ubuntu-latest |
195 | 198 | name: Report test results to datadog |
@@ -280,7 +283,7 @@ jobs: |
280 | 283 | update-prs: |
281 | 284 | name: Update prs as ready for review |
282 | 285 | needs: [test-deploy-turbopack, test-deploy-webpack, create-draft-prs] |
283 | | - if: ${{ needs.test-deploy-webpack.result == 'success' && needs.test-deploy-turbopack.result == 'success' && github.repository_owner == 'vercel' && github.event_name == 'release' }} |
| 286 | + if: ${{ (needs.test-deploy-webpack.result == 'success' || needs.test-deploy-webpack.result == 'skipped') && needs.test-deploy-turbopack.result == 'success' && github.repository_owner == 'vercel' && github.event_name == 'release' }} |
284 | 287 | runs-on: ubuntu-latest |
285 | 288 | strategy: |
286 | 289 | fail-fast: false |
|
0 commit comments