Bump vite from 4.0.3 to 4.0.5 #8
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: Running Tests | |
on: | |
[workflow_call, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
command: ["Formatting and Linting", "Svelte check", "Vitest", "Playwright"] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: latest | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18.x | |
cache: "pnpm" | |
- name: Installing dependencies | |
run: pnpm install --frozen-lockfile | |
- if: matrix.command == 'Formatting and Linting' | |
name: "Formatting and Linting Code" | |
run: | | |
pnpm format | |
pnpm lint | |
- if: matrix.command == 'Svelte Check' | |
name: "Running Svelte Check" | |
run: pnpm check | |
- if: matrix.command == 'Vitest' | |
name: "Running Vitest tests" | |
run: pnpm test:unit | |
- if: matrix.command == 'Playwright' | |
name: "Installing Playwright dependencies && Running Tests" | |
run: | | |
pnpx playwright install | |
pnpm test |