Add the usage and details of new image cleanup solution #2230
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Build | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| actions: write | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - name: Set up Node.js 20 | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6 | |
| with: | |
| node-version: 20 | |
| - name: Install dependencies | |
| run: | | |
| PUPPETEER_DOWNLOAD_BASE_URL=https://storage.googleapis.com/chrome-for-testing-public yarn install --frozen-lockfile | |
| - name: Build | |
| run: | | |
| yarn gen-api-docs | |
| yarn build | |
| - name: Upload build to artifacts | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: build | |
| path: ./build | |
| - name: Save PR data to artifact | |
| run: | | |
| { | |
| echo "PR_NUMBER=${{ github.event.pull_request.number }}" | |
| echo "HEAD_SHA=${{ github.event.pull_request.head.sha }}" | |
| } > pr-data.env | |
| - name: Upload PR data artifact | |
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | |
| with: | |
| name: pr-data | |
| path: pr-data.env |