From 48a61cf9872f1eebe5257ede5b10e5be158e58ca Mon Sep 17 00:00:00 2001 From: Malte Finsterwalder <malte@holi.team> Date: Thu, 8 Feb 2024 10:19:49 +0100 Subject: [PATCH] add yarn files to zip --- .gitlab-ci.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e76bf0..de54cd1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,6 @@ install_dependencies: - .pnp.* - .yarn/ script: - - yarn config set enableGlobalCache false - yarn install --immutable --check-cache artifacts: paths: @@ -44,7 +43,6 @@ test: image: name: 'node:18.16.0' script: - - yarn config set enableGlobalCache false - yarn test build: @@ -59,7 +57,6 @@ build: image: name: 'node:18.16.0' script: - - yarn config set enableGlobalCache false - yarn build artifacts: paths: @@ -83,7 +80,7 @@ build: ENVIRONMENT_ID: $CI_ENVIRONMENT_SLUG script: - apk add zip - - zip -r receiveEvent.zip dist package.json yarn.lock + - zip -r receiveEvent.zip dist package.json yarn.lock .yarn/ .pnp.* .yarnrc* - export GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_CLOUD_SERVICE_ACCOUNT} - terraform/environments/scripts/create-or-update-env.sh $ENVIRONMENT_ID $CI_COMMIT_SHA -- GitLab