fix(mcp): report malformed JSON config instead of falling back to INI… #564
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: extension | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - release-* | |
| paths: | |
| - 'packages/playwright-core/src/tools/**' | |
| - '!packages/playwright-core/src/tools/dashboard/**' | |
| - '!packages/playwright-core/src/tools/trace/**' | |
| - 'packages/extension/**' | |
| - 'tests/extension/**' | |
| - '.github/workflows/tests_extension.yml' | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| paths: | |
| - 'packages/playwright-core/src/tools/**' | |
| - '!packages/playwright-core/src/tools/dashboard/**' | |
| - '!packages/playwright-core/src/tools/trace/**' | |
| - 'packages/extension/**' | |
| - 'tests/extension/**' | |
| - '.github/workflows/tests_extension.yml' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| env: | |
| FORCE_COLOR: 1 | |
| DEBUG: pw:mcp:error | |
| jobs: | |
| test_extension: | |
| name: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm ci | |
| - run: npm run build | |
| - run: npx playwright install --with-deps chromium | |
| - run: npm run test-extension | |
| - name: Upload parquet report | |
| if: ${{ !cancelled() }} | |
| uses: ./.github/actions/upload-parquet-report | |
| with: | |
| job_name: extension-${{ matrix.os }} |