diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c5e83a1..64a4805 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,8 @@ job_install: stage: install before_script: - echo '安装依赖' - - apt-get update && apt-get install -y npm # Add npm installation + - sudo apt-get update -y || true + - sudo apt-get install -y --no-install-recommends npm # Add sudo script: - cd Assets/02.InformationSave - echo " registry=http://192.168.31.100:8418/api/packages/unity-registry/npm" > .npmrc