feat: unify local and hosted authorization paths #2817
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: Tests | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| env: | |
| NODE_VERSION: "24.14.0" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| name: Run Tests | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| - name: Install workspace dependencies | |
| run: npm ci --legacy-peer-deps | |
| - name: Run SDK → CLI → Inspector verification | |
| # Node 24 auto-scales heap to ~half system RAM (~4 GB on ubuntu-latest). | |
| # The vitest workspace (server + client + shared) runs concurrently and | |
| # exceeds that cap. 6 GB gives headroom without exhausting the runner. | |
| env: | |
| NODE_OPTIONS: "--max-old-space-size=6144" | |
| run: npm run test:ordered |