Skip to content

RelativeCI

RelativeCI #8456

Workflow file for this run

name: RelativeCI
on:
# zizmor: ignore[dangerous-triggers] This is a dangerous trigger, but it's ok because we're not using it to trigger other workflows
# See: https://relative-ci.com/documentation/setup/agent/github-action/#workflow_run-event
workflow_run:
workflows: ["Bundle Analysis", "Deploy", "Test"]
types:
- completed
permissions: {}
jobs:
upload:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
project:
- path: ./examples/react
name: example-react
key: RELATIVE_CI_PROJECT_EXAMPLES_REACT_KEY
- path: ./packages/web-platform/web-explorer
name: web-explorer
key: RELATIVE_CI_PROJECT_WEB_EXPLORER_KEY
- path: ./packages/rspeedy/core
name: rspeedy
key: RELATIVE_CI_PROJECT_RSPEEDY_CORE_KEY
runs-on: lynx-ubuntu-24.04-medium
name: Upload ${{ matrix.project.name }}
env:
RELATIVE_CI_PROJECT_EXAMPLES_REACT_KEY: ${{ secrets.RELATIVE_CI_PROJECT_EXAMPLES_REACT_KEY }}
RELATIVE_CI_PROJECT_WEB_EXPLORER_KEY: ${{ secrets.RELATIVE_CI_PROJECT_WEB_EXPLORER_KEY }}
RELATIVE_CI_PROJECT_RSPEEDY_CORE_KEY: ${{ secrets.RELATIVE_CI_PROJECT_RSPEEDY_CORE_KEY }}
steps:
- name: Send bundle stats and build information to RelativeCI - ${{ matrix.project.name }}
uses: relative-ci/agent-action@1707825cbfcc7452b2913d273414705415ae64d4 # v3
with:
artifactName: ${{ matrix.project.name }}-relative-ci-artifacts
key: ${{ env[matrix.project.key] }}
token: ${{ secrets.GITHUB_TOKEN }}