Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,45 @@ jobs:
# The head sha aligns with how the sha used in prod builds
GAZEBO_SHA: ${{ github.event.pull_request.head.sha }}

upload-bundle-stats-to-helmtest:
name: Upload Bundle Stats - Helmtest
runs-on: ubuntu-latest
needs: install
if: ${{ !github.event.pull_request.head.repo.fork && github.repository_owner == 'codecov' }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20

- name: Cache node_modules
id: cache-node-modules
uses: actions/cache@v4
env:
cache-name: cache-gazebo-node-modules
with:
path: |
node_modules
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-

- name: Build and upload stats
run: |
yarn build
env:
CODECOV_API_URL: https://helmtest.codecov.dev
CODECOV_ORG_TOKEN: ${{ secrets.CODECOV_HELMTEST_TOKEN }}
CODECOV_BUNDLE_NAME: 'gazebo-helmtest'
UPLOAD_CODECOV_BUNDLE_STATS: true
# The head sha aligns with how the sha used in prod builds
GAZEBO_SHA: ${{ github.event.pull_request.head.sha }}

storybook:
name: Run storybook
runs-on: ubuntu-latest
Expand Down
Loading