fix: woodpecker compiler error
This commit is contained in:
@@ -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.848
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.849
|
||||
NEXT_PUBLIC_CPL_MODE=json # json (Entwicklungsumgebung) oder jsSimulatedProd (CPL ->CGI-Interface-Simulator) oder production (CPL-> CGI-Interface Platzhalter)
|
||||
|
||||
|
||||
@@ -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.848
|
||||
NEXT_PUBLIC_APP_VERSION=1.6.849
|
||||
NEXT_PUBLIC_CPL_MODE=production
|
||||
@@ -15,15 +15,15 @@ steps:
|
||||
commands:
|
||||
- pwd
|
||||
- node -v && npm -v
|
||||
# Skip lifecycle scripts in CI to avoid running husky's prepare step
|
||||
- npm ci --ignore-scripts
|
||||
# Zeig mir, ob die Datei wirklich im Checkout liegt:
|
||||
- echo "=== git ls-files ==="
|
||||
- git ls-files | grep -i "^mocks/device-cgi-simulator/SERVICE/systemMockData.js" || true
|
||||
- echo "=== ls -la ==="
|
||||
- ls -la mocks/device-cgi-simulator/SERVICE || true
|
||||
- echo "=== file exists? ==="
|
||||
- test -f mocks/device-cgi-simulator/SERVICE/systemMockData.js && echo "FOUND" || (echo "MISSING" && exit 1)
|
||||
# Skip lifecycle scripts in CI to avoid running husky's prepare step
|
||||
- npm ci --ignore-scripts
|
||||
# Zeig mir, ob die Datei wirklich im Checkout liegt:
|
||||
- echo "=== git ls-files ==="
|
||||
- git ls-files | grep -i "^mocks/device-cgi-simulator/SERVICE/systemMockData.js" || true
|
||||
- echo "=== ls -la ==="
|
||||
- ls -la mocks/device-cgi-simulator/SERVICE || true
|
||||
- echo "=== file exists? ==="
|
||||
- test -f mocks/device-cgi-simulator/SERVICE/systemMockData.js && echo "FOUND" || (echo "MISSING" && exit 1)
|
||||
|
||||
- name: e2e-dev
|
||||
image: mcr.microsoft.com/playwright:v1.54.2-jammy
|
||||
@@ -43,12 +43,14 @@ steps:
|
||||
- |
|
||||
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
|
||||
|
||||
- name: notify-success
|
||||
image: alpine/curl:latest
|
||||
when:
|
||||
status: success
|
||||
commands:
|
||||
- curl -d "Tests erfolgreich in woodpecker" https://ntfy.sh/OEOr8DNB0aT2mXWg231PeEEKwvuzt86qgM8ezQmgfcX9ZIlZ35
|
||||
|
||||
- name: notify-failure
|
||||
image: alpine/curl:latest
|
||||
when:
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
## [1.6.849] – 2025-09-05
|
||||
|
||||
- fix: .woodpecker.yml
|
||||
|
||||
---
|
||||
## [1.6.848] – 2025-09-05
|
||||
|
||||
- test: playwright mit npm run dev erfolgreich
|
||||
|
||||
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.848",
|
||||
"version": "1.6.849",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.848",
|
||||
"version": "1.6.849",
|
||||
"dependencies": {
|
||||
"@fontsource/roboto": "^5.1.0",
|
||||
"@headlessui/react": "^2.2.4",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "cpl-v4",
|
||||
"version": "1.6.848",
|
||||
"version": "1.6.849",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3000",
|
||||
|
||||
Reference in New Issue
Block a user