chore: clean code #184
Workflow file for this run
This file contains 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 test | |
on: [push, pull_request] | |
jobs: | |
run-e2e-test: | |
strategy: | |
matrix: | |
version: [16, 18] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
- name: Instanll pnpm | |
run: make install | |
- name: install playwright | |
run: pnpm playwright install | |
- name: test 2.x to 4.x | |
run: pnpm exec vitest e2e/vite[2-4]/*.spec.ts --coverage.enabled=false | |
run-stable-e2e-test: | |
strategy: | |
matrix: | |
version: [18, 20] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
node-version: ${{ matrix.version }} | |
- name: Instanll pnpm | |
run: make install | |
- name: install playwright | |
run: pnpm playwright install | |
- name: test 5.x | |
run: pnpm exec vitest e2e/vite5/*.spec.ts --coverage.enabled=false |