test/user-journey #3
+5
-4
@@ -1,5 +1,5 @@
|
||||
variables:
|
||||
- &node_image node:20-alpine
|
||||
- &node_image node:20-slim
|
||||
|
||||
steps:
|
||||
install-deps:
|
||||
@@ -112,7 +112,7 @@ steps:
|
||||
- dev
|
||||
|
||||
build-and-deploy:
|
||||
image: node:20-alpine
|
||||
image: *node_image
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
NEXT_TELEMETRY_DISABLED: 1
|
||||
@@ -123,8 +123,9 @@ steps:
|
||||
- lint
|
||||
- type-check
|
||||
commands:
|
||||
- echo "Installing SSH client"
|
||||
- apk add --no-cache openssh-client rsync
|
||||
- echo "Checking SSH client availability"
|
||||
- which ssh && echo "SSH client found" || echo "Installing SSH client"
|
||||
- apt-get update && apt-get install -y openssh-client rsync
|
||||
- echo "Building production artifacts"
|
||||
- npm run build
|
||||
- echo "Build completed"
|
||||
|
||||
Reference in New Issue
Block a user