Skip to content

Commit

Permalink
setup in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jan 31, 2025
1 parent 7a1260c commit 90337f5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ jobs:
- run: timeout 12s bun lefthook run pre-commit
- run: bun run test
- run: ./check-lines.sh
- name: Bundle size breakdown
run: |
bun run build --sourcemap true
bun src/ci/dependency_report.ts dist/ | column -t -s ":"
- run: ./check-bundle-size.sh

build:
runs-on: ubuntu-latest
Expand All @@ -35,6 +30,12 @@ jobs:

- run: bun install --frozen-lockfile
- run: bun run build
env:
VITE_SENTRY_ENVIRONMENT: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}

- name: Bundle size breakdown
run: bun src/ci/dependency_report.ts dist/ | column -t -s ":"
- run: ./check-bundle-size.sh

- name: Upload built project
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 90337f5

Please sign in to comment.