diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a849469b69e3..d1fab748707b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -913,8 +913,7 @@ jobs: # - AND if the profiling node bindings were either successful or skipped if: | always() && needs.job_build.result == 'success' && - (needs.job_compile_bindings_profiling_node.result == 'success' || needs.job_compile_bindings_profiling_node.result == 'skipped') && - (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) + (needs.job_compile_bindings_profiling_node.result == 'success' || needs.job_compile_bindings_profiling_node.result == 'skipped') needs: [job_get_metadata, job_build, job_compile_bindings_profiling_node] runs-on: ubuntu-20.04-large-js timeout-minutes: 15 @@ -996,7 +995,6 @@ jobs: 'angular-17', 'angular-18', 'aws-lambda-layer-cjs', - 'cloudflare-astro', 'node-express', 'create-react-app', 'create-next-app', @@ -1114,16 +1112,6 @@ jobs: timeout-minutes: 5 run: pnpm test:assert - - name: Deploy Astro to Cloudflare - uses: cloudflare/pages-action@v1 - if: matrix.test-application == 'cloudflare-astro' - with: - apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} - accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} - projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} - directory: dist - workingDirectory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }} - job_optional_e2e_tests: name: E2E ${{ matrix.label || matrix.test-application }} Test # We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks @@ -1149,6 +1137,7 @@ jobs: matrix: test-application: [ + 'cloudflare-astro', 'react-send-to-sentry', 'node-express-send-to-sentry', 'debug-id-sourcemaps', @@ -1215,6 +1204,16 @@ jobs: timeout-minutes: 5 run: pnpm ${{ matrix.assert-command || 'test:assert' }} + - name: Deploy Astro to Cloudflare + uses: cloudflare/pages-action@v1 + if: matrix.test-application == 'cloudflare-astro' + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} + projectName: ${{ secrets.CLOUDFLARE_PROJECT_NAME }} + directory: dist + workingDirectory: dev-packages/e2e-tests/test-applications/${{ matrix.test-application }} + job_profiling_e2e_tests: name: E2E ${{ matrix.label || matrix.test-application }} Test # We only run E2E tests for non-fork PRs because the E2E tests require secrets to work and they can't be accessed from forks