fix(twitter): use pushState for search SPA navigation #218
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: E2E Headed Chrome | |
| on: | |
| push: | |
| branches: [main, dev] | |
| pull_request: | |
| branches: [main, dev] | |
| workflow_dispatch: | |
| concurrency: | |
| group: e2e-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| e2e-headed: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '22' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Setup Chrome + xvfb | |
| uses: ./.github/actions/setup-chrome | |
| id: setup-chrome | |
| - name: Build | |
| run: npm run build | |
| - name: Run E2E tests (headed Chrome + xvfb) | |
| run: | | |
| xvfb-run --auto-servernum --server-args="-screen 0 1280x720x24" \ | |
| npx vitest run tests/e2e/ --reporter=verbose | |
| env: | |
| OPENCLI_BROWSER_EXECUTABLE_PATH: ${{ steps.setup-chrome.outputs.chrome-path }} |