test(ui-checkbox): use the vitest-browser API in the toggle variant tests #7261
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: AUTO Pull Request validation | |
| on: [pull_request] | |
| jobs: | |
| lint: | |
| name: Lint commit msg + code | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Bootstrap project | |
| run: pnpm run bootstrap | |
| - name: Lint commits | |
| run: pnpm run lint:commits | |
| - name: Lint code | |
| run: pnpm run lint:changes | |
| vitest-tests: | |
| name: Vitest tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: '24' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Install Playwright browser | |
| run: pnpm exec playwright install --with-deps chromium | |
| - name: Bootstrap project | |
| run: pnpm run bootstrap | |
| - name: Run vitest browser tests | |
| run: pnpm run test:vitest | |