fix: rename aiUrl to serverUrl and fix auth switch clearing serverUrl #66
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: CI | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths: | |
| - 'src/**' | |
| - 'webview/**' | |
| - 'tests/**' | |
| - 'e2e/**' | |
| - 'package*.json' | |
| - 'playwright.config.ts' | |
| - '.github/workflows/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v5 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install Playwright dependencies | |
| run: npx playwright install --with-deps chromium | |
| - name: Run tests | |
| run: npm test | |
| - name: Upload test report | |
| if: failure() | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 7 |