without playwright container

This commit is contained in:
Timo K
2026-05-11 19:18:10 +02:00
parent f37128414a
commit 4f28bac749

View File

@@ -7,10 +7,7 @@ jobs:
vitest: vitest:
name: Run unit tests name: Run unit tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
container:
# Make sure to grab the latest version of the Playwright image
# https://playwright.dev/docs/docker#pull-the-image
image: mcr.microsoft.com/playwright:v1.59.1-noble
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
@@ -26,8 +23,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
# ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present) # ignore-pnpmfile should never be commited. Make CI crash if it happened (`pnpmfileChecksum` is present)
run: "pnpm install --frozen-lockfile --ignore-pnpmfile" run: "pnpm install --frozen-lockfile --ignore-pnpmfile"
# - name: Install Playwright Browsers - name: Install Playwright Browsers
# run: pnpm exec playwright install --with-deps chromium run: pnpm exec playwright install --with-deps firefox
- name: Vitest - name: Vitest
run: "pnpm run test:coverage" run: "pnpm run test:coverage"
- name: Upload to codecov - name: Upload to codecov