ci/cd: fix playwright browsers not installed

This commit is contained in:
Elias Schneider
2025-08-24 20:16:36 +02:00
parent 10b087640f
commit 8999173aa0

View File

@@ -3,15 +3,15 @@ on:
push: push:
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- 'docs/**' - "docs/**"
- '**.md' - "**.md"
- '.github/**' - ".github/**"
pull_request: pull_request:
branches: [main] branches: [main]
paths-ignore: paths-ignore:
- 'docs/**' - "docs/**"
- '**.md' - "**.md"
- '.github/**' - ".github/**"
jobs: jobs:
build: build:
@@ -61,7 +61,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
cache: 'pnpm' cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml cache-dependency-path: pnpm-lock.yaml
- name: Cache Playwright Browsers - name: Cache Playwright Browsers
@@ -151,7 +151,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
cache: 'pnpm' cache: "pnpm"
cache-dependency-path: pnpm-lock.yaml cache-dependency-path: pnpm-lock.yaml
- name: Cache Playwright Browsers - name: Cache Playwright Browsers
@@ -212,7 +212,7 @@ jobs:
- name: Install Playwright Browsers - name: Install Playwright Browsers
working-directory: ./tests working-directory: ./tests
if: steps.playwright-cache.outputs.cache-hit != 'true' if: steps.playwright-cache.outputs.cache-hit != 'true'
run: pnpm dlx playwright install --with-deps chromium run: pnpm exec playwright install --with-deps chromium
- name: Run Docker Container with Postgres DB and LDAP - name: Run Docker Container with Postgres DB and LDAP
working-directory: ./tests/setup working-directory: ./tests/setup