From 3e998d6644dfed2dbf00884b695a47c7ff430360 Mon Sep 17 00:00:00 2001 From: ISA Date: Fri, 29 Aug 2025 10:15:42 +0200 Subject: [PATCH] fix: headless --- .env.development | 2 +- .env.production | 2 +- .woodpecker.yml | 6 +++--- CHANGELOG.md | 5 +++++ package-lock.json | 4 ++-- package.json | 2 +- playwright.config.ts | 2 +- 7 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.env.development b/.env.development index 67cdadb..4cc5f3a 100644 --- a/.env.development +++ b/.env.development @@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_USE_CGI=false # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.773 +NEXT_PUBLIC_APP_VERSION=1.6.774 NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) diff --git a/.env.production b/.env.production index 2a44f58..a50ef82 100644 --- a/.env.production +++ b/.env.production @@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_USE_CGI=true # App-Versionsnummer -NEXT_PUBLIC_APP_VERSION=1.6.773 +NEXT_PUBLIC_APP_VERSION=1.6.774 NEXT_PUBLIC_CPL_MODE=production \ No newline at end of file diff --git a/.woodpecker.yml b/.woodpecker.yml index 824818e..8a256fe 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -4,13 +4,13 @@ steps: commands: - npm install --prefer-offline --no-audit - - name: install-playwright + - name: install-chromium-only image: node:22 commands: - - npx playwright install + - npx playwright install chromium - npx playwright install-deps - name: run-tests image: node:22 commands: - - npx playwright test + - npx playwright test --project=chromium diff --git a/CHANGELOG.md b/CHANGELOG.md index 96b81f2..733fd5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## [1.6.774] – 2025-08-29 + +- fix. npm install statt npm ci, um Zeit zu sparen + +--- ## [1.6.773] – 2025-08-29 - fix: woodpecker node 22 diff --git a/package-lock.json b/package-lock.json index dcc8979..52acf0f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cpl-v4", - "version": "1.6.773", + "version": "1.6.774", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cpl-v4", - "version": "1.6.773", + "version": "1.6.774", "dependencies": { "@fontsource/roboto": "^5.1.0", "@headlessui/react": "^2.2.4", diff --git a/package.json b/package.json index 5aeb8d6..67d84f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cpl-v4", - "version": "1.6.773", + "version": "1.6.774", "private": true, "scripts": { "dev": "next dev", diff --git a/playwright.config.ts b/playwright.config.ts index f0d86e1..5818c0a 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -27,7 +27,7 @@ export default defineConfig({ use: { /* Base URL to use in actions like `await page.goto('/')`. */ baseURL: "http://localhost:3000", - headless: false, + headless: true, launchOptions: { slowMo: 300 }, viewport: { width: 1920, height: 1080 }, //video: "retain-on-failure",