fix(frontend): remediate frontend + extension audit findings #830
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: UI Watchlists Scale Gates | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - dev | |
| paths: | |
| - "apps/packages/ui/src/components/Option/Watchlists/**" | |
| - "apps/packages/ui/src/assets/locale/en/watchlists.json" | |
| - "apps/packages/ui/src/public/_locales/en/watchlists.json" | |
| - "apps/packages/ui/src/services/watchlists.ts" | |
| - "apps/packages/ui/package.json" | |
| - "apps/bun.lock" | |
| - ".github/workflows/ui-watchlists-scale-gates.yml" | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - "apps/packages/ui/src/components/Option/Watchlists/**" | |
| - "apps/packages/ui/src/assets/locale/en/watchlists.json" | |
| - "apps/packages/ui/src/public/_locales/en/watchlists.json" | |
| - "apps/packages/ui/src/services/watchlists.ts" | |
| - "apps/packages/ui/package.json" | |
| - "apps/bun.lock" | |
| - ".github/workflows/ui-watchlists-scale-gates.yml" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ui-watchlists-scale-gates-${{ github.event.pull_request.head.sha || github.sha }} | |
| cancel-in-progress: true | |
| jobs: | |
| watchlists-scale-gate: | |
| name: Watchlists Scale Gate | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: "1.3.2" | |
| - name: Install workspace dependencies | |
| working-directory: apps | |
| run: bun install --frozen-lockfile | |
| - name: Run Watchlists static typecheck gate | |
| working-directory: apps/packages/ui | |
| env: | |
| CI: "true" | |
| run: bun run test:watchlists:typecheck | |
| - name: Run Watchlists scale regression gate | |
| working-directory: apps/packages/ui | |
| env: | |
| CI: "true" | |
| run: bun run test:watchlists:scale |