RelativeCI #24074
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: RelativeCI | |
| on: | |
| # zizmor: ignore[dangerous-triggers] -- safe: only downloads artifacts, no PR code checkout | |
| workflow_run: | |
| workflows: [CI] | |
| types: | |
| - completed | |
| permissions: | |
| contents: read | |
| actions: read | |
| jobs: | |
| upload-frontend-modern: | |
| name: Upload stats (frontend/modern) | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send bundle stats and build information to RelativeCI | |
| uses: relative-ci/agent-action@3c681926017930047fc03acaa35cd6a44efcbfc3 # v3.2.2 | |
| with: | |
| key: ${{ secrets.RELATIVE_CI_KEY_frontend_modern }} | |
| token: ${{ github.token }} | |
| artifactName: frontend-bundle-stats | |
| webpackStatsFile: frontend-modern.json | |
| upload-frontend-legacy: | |
| name: Upload stats (frontend/legacy) | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send bundle stats and build information to RelativeCI | |
| uses: relative-ci/agent-action@3c681926017930047fc03acaa35cd6a44efcbfc3 # v3.2.2 | |
| with: | |
| key: ${{ secrets.RELATIVE_CI_KEY_frontend_legacy }} | |
| token: ${{ github.token }} | |
| artifactName: frontend-bundle-stats | |
| webpackStatsFile: frontend-legacy.json |