(fix) O3-5356: Migrate patient-list to workspace v2 to fix start visit TypeError #5284
Workflow file for this run
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: Report bundle size | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| env: | |
| TURBO_API: 'http://127.0.0.1:9080' | |
| TURBO_TOKEN: 'turbo-token' | |
| TURBO_TEAM: ${{ github.repository_owner }} | |
| steps: | |
| - name: 📥 Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: 🛠️ Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'yarn' | |
| - name: 📦 Install dependencies | |
| run: yarn install --immutable | |
| - name: 🚀 Setup Turborepo cache server | |
| uses: felixmosh/turborepo-gh-artifacts@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| server-token: ${{ env.TURBO_TOKEN }} | |
| - name: 📊 Compute bundle size report | |
| uses: preactjs/compressed-size-action@v2 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
| minimum-change-threshold: 10000 # 10 KB | |
| build-script: "turbo run build --concurrency=5" |