Consolidate CI web builds into the build workflow and restore deployments to GitHub environments (#3916)

* Restore the CI "View deployment" button in PRs after building

* Consolidate release.yml functionality into build.yml

* Move build from ci.yml to a delegated run in build.yml

* Rename CI to Check

* Code review fixes

* Review 2
This commit is contained in:
Keavon Chambers
2026-03-19 04:53:05 -07:00
committed by GitHub
parent 2e842cb425
commit eb562146ce
6 changed files with 197 additions and 261 deletions

View File

@@ -98,7 +98,7 @@ jobs:
- name: Make old comments collapsed by default
# Only run if we have write permissions (not a fork)
if: github.event.pull_request.head.repo.full_name == github.repository
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -124,7 +124,7 @@ jobs:
- name: Analyze profiling changes
id: analyze
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const fs = require('fs');
@@ -183,7 +183,7 @@ jobs:
- name: Comment PR
if: github.event.pull_request.head.repo.full_name == github.repository
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
@@ -333,7 +333,7 @@ jobs:
- name: Fail on significant regressions
if: steps.analyze.outputs.has-significant-changes == 'true'
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
const regressionDetails = JSON.parse('${{ steps.analyze.outputs.regression-details }}');