diff --git a/ci/Dockerfile.base b/ci/Dockerfile.base index df3c8969d..db53b6667 100644 --- a/ci/Dockerfile.base +++ b/ci/Dockerfile.base @@ -11,7 +11,7 @@ # docker run --rm -it --name juno -v /workspace/juno:/juno -v /workspace/temp/juno/:/tmp juno-base:latest /bin/bash # docker run --rm -it --name juno -v /workspace/juno:/juno -v /workspace/temp/juno/:/tmp keppel.eu-de-1.cloud.sap/ccloud/juno-v3-base:latest /bin/bash -FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/node:18-alpine +FROM keppel.eu-de-1.cloud.sap/ccloud-dockerhub-mirror/library/node:20-alpine LABEL source_repository="https://github.com/sapcc/juno" diff --git a/ci/pipeline.yaml.erb b/ci/pipeline.yaml.erb index 100eb0007..e33c43b66 100644 --- a/ci/pipeline.yaml.erb +++ b/ci/pipeline.yaml.erb @@ -313,10 +313,9 @@ jobs: - | set -e ls -la - cd ./latest/<%=details[:type]%>s/<%=name%> - echo "update node modules -> npm install" - npm install - cd ../../ + cd ./latest + npm ci --only=production + cd ../ echo "" /juno/ci/scripts/asset_build.sh --asset-name <%= name %> --asset-type <%= details[:type] %> --output-path ../build_result <% if details[:type] == "lib" %> --last-build-path ../last_build <% end %> - task: sync