test/user-journey #3

Merged
zhangxiang merged 142 commits from test/user-journey into dev 2026-04-12 13:17:03 +08:00
Showing only changes of commit 4761850502 - Show all commits
+5 -4
View File
@@ -1,5 +1,5 @@
variables: variables:
- &node_image node:20-alpine - &node_image node:20-slim
steps: steps:
install-deps: install-deps:
@@ -112,7 +112,7 @@ steps:
- dev - dev
build-and-deploy: build-and-deploy:
image: node:20-alpine image: *node_image
environment: environment:
NODE_ENV: production NODE_ENV: production
NEXT_TELEMETRY_DISABLED: 1 NEXT_TELEMETRY_DISABLED: 1
@@ -123,8 +123,9 @@ steps:
- lint - lint
- type-check - type-check
commands: commands:
- echo "Installing SSH client" - echo "Checking SSH client availability"
- apk add --no-cache openssh-client rsync - which ssh && echo "SSH client found" || echo "Installing SSH client"
- apt-get update && apt-get install -y openssh-client rsync
- echo "Building production artifacts" - echo "Building production artifacts"
- npm run build - npm run build
- echo "Build completed" - echo "Build completed"