fix: woodpecker

This commit is contained in:
ISA
2025-09-05 11:30:39 +02:00
parent 2166744c63
commit 29a79ce0a9
6 changed files with 18 additions and 13 deletions

View File

@@ -6,6 +6,6 @@ NEXT_PUBLIC_USE_MOCK_BACKEND_LOOP_START=false
NEXT_PUBLIC_EXPORT_STATIC=false NEXT_PUBLIC_EXPORT_STATIC=false
NEXT_PUBLIC_USE_CGI=false NEXT_PUBLIC_USE_CGI=false
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.850 NEXT_PUBLIC_APP_VERSION=1.6.851
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter) NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)

View File

@@ -5,5 +5,5 @@ NEXT_PUBLIC_CPL_API_PATH=/CPL
NEXT_PUBLIC_EXPORT_STATIC=true NEXT_PUBLIC_EXPORT_STATIC=true
NEXT_PUBLIC_USE_CGI=true NEXT_PUBLIC_USE_CGI=true
# App-Versionsnummer # App-Versionsnummer
NEXT_PUBLIC_APP_VERSION=1.6.850 NEXT_PUBLIC_APP_VERSION=1.6.851
NEXT_PUBLIC_CPL_MODE=production NEXT_PUBLIC_CPL_MODE=production

View File

@@ -34,14 +34,14 @@ steps:
PORT: "3000" PORT: "3000"
commands: commands:
- node -v && npm -v - node -v && npm -v
# Skip lifecycle scripts in CI to avoid running husky's prepare step (husky is a devDep) # Skip lifecycle scripts in CI to avoid running husky's prepare step (husky is a devDep)
- env npm_config_production=false npm ci --ignore-scripts - env npm_config_production=false npm ci --ignore-scripts
- npm run build - npm run build
# Start local static simulator in background # Start local static simulator in background
- node scripts/local-cpl-sim.mjs & - node scripts/local-cpl-sim.mjs &
# Wait until simulator responds on port 3000 (no curl dependency) # Wait until simulator responds on port 3000 (no curl dependency)
- node -e "const http=require('http');let n=120;function ping(){http.get('http://localhost:3000',res=>{console.log('Server is up');process.exit(0)}).on('error',()=>{if(n--<=0){console.error('Server did not start');process.exit(1)}setTimeout(ping,1000)});}ping();" - node -e "const http=require('http');let n=120;function ping(){http.get('http://localhost:3000',res=>{console.log('Server is up');process.exit(0)}).on('error',()=>{if(n--<=0){console.error('Server did not start');process.exit(1)}setTimeout(ping,1000)});}ping();"
- npx playwright test --project=chromium - npx playwright test --project=chromium
- name: notify-success - name: notify-success
image: alpine/curl:latest image: alpine/curl:latest

View File

@@ -1,3 +1,8 @@
## [1.6.851] 2025-09-05
- fix: woodpecker rimraf not found
---
## [1.6.850] 2025-09-05 ## [1.6.850] 2025-09-05
- fix: woodpecker compiler error - fix: woodpecker compiler error

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.850", "version": "1.6.851",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.850", "version": "1.6.851",
"dependencies": { "dependencies": {
"@fontsource/roboto": "^5.1.0", "@fontsource/roboto": "^5.1.0",
"@headlessui/react": "^2.2.4", "@headlessui/react": "^2.2.4",

View File

@@ -1,6 +1,6 @@
{ {
"name": "cpl-v4", "name": "cpl-v4",
"version": "1.6.850", "version": "1.6.851",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3000", "dev": "next dev -p 3000",