Skip to content

Commit

Permalink
Merge pull request #773 from open-formulieren/chore/add-codecov-bundl…
Browse files Browse the repository at this point in the history
…e-analysis

👷 Enable Codecov JS bundle analysis
  • Loading branch information
sergei-maertens authored Jan 13, 2025
2 parents 36b566b + 3401b31 commit c298814
Show file tree
Hide file tree
Showing 4 changed files with 351 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,13 @@ jobs:
- name: Build Javascript
run: |
echo "Building version $REACT_APP_VERSION"
echo "Building version $VITE_VERSION"
npm ci
npm run build:design-tokens
REACT_APP_VERSION=${REACT_APP_VERSION} npm run build
VITE_VERSION=${VITE_VERSION} npm run build
env:
REACT_APP_VERSION: ${{ steps.build-args.outputs.version }}
VITE_VERSION: ${{ steps.build-args.outputs.version }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Store build artifact
uses: actions/upload-artifact@v4
Expand Down
Loading

0 comments on commit c298814

Please sign in to comment.