diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 904346516..9016ee514 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ default: - image: node:16 + image: cosmomyzrailgorynych/docker-nw-builder:latest # Caching settigns for NPM, according to https://docs.gitlab.com/ee/ci/caching/index.html#cache-nodejs-dependencies before_script: - npm ci --cache .npm --prefer-offline @@ -33,7 +33,6 @@ workflow: preinstall: stage: .pre script: - - "npm i -g gulp-cli" - "npm install" - "gulp -f devSetup.gulpfile.js" @@ -41,23 +40,18 @@ lint: needs: ["preinstall"] stage: test script: - - npm i -g gulp-cli - gulp lint build: needs: ["preinstall"] stage: test script: - - npm i -g gulp-cli - gulp build pack-deploy-release: stage: pack needs: ["lint", "build"] script: - - apt-get update - - apt-get install zip unzip -y - - npm i -g gulp-cli - gulp -f devSetup.gulpfile.js - gulp packages --buildNum=$CI_COMMIT_TAG - gulp deployItchOnly --buildNum=$CI_COMMIT_TAG @@ -72,8 +66,6 @@ pack-deploy-nightly: rules: - if: $CI_COMMIT_BRANCH == "develop" script: - - apt-get update - - apt-get install zip unzip -y - npm i -g gulp-cli - gulp -f devSetup.gulpfile.js - gulp packages --nightly --buildNum=$CI_COMMIT_SHORT_SHA