Vite plus, Vite 8 and Nitro 3 beta #1266
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: 🔎 Code Quality | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| jobs: | |
| linter: | |
| name: 🧹 Linter | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: '22' | |
| - name: Run oxlint | |
| run: vp lint --deny-warnings . | |
| typescriptChecker: | |
| name: 🟦 TypeScript Checker | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: 24 | |
| - name: Run Typescript checker | |
| run: vp run lint:ts | |
| tests: | |
| name: 🔬 Tests | |
| if: github.event.pull_request.draft == false | |
| timeout-minutes: 10 | |
| runs-on: ubuntu-latest | |
| env: | |
| VITE_BASE_URL: http://localhost:3000 | |
| VITE_S3_BUCKET_PUBLIC_URL: 'http://localhost:9000/default' | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: ./.github/actions/setup-pnpm | |
| with: | |
| node-version: 24 | |
| - name: Setup Playwright | |
| uses: ./.github/actions/setup-playwright | |
| - name: Run tests | |
| run: SKIP_ENV_VALIDATION=true vp run test:ci |