Skip to content
Snippets Groups Projects
Commit 48a61cf9 authored by Malte Finsterwalder's avatar Malte Finsterwalder
Browse files

add yarn files to zip

parent 0fb48a4b
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,6 @@ install_dependencies: ...@@ -24,7 +24,6 @@ install_dependencies:
- .pnp.* - .pnp.*
- .yarn/ - .yarn/
script: script:
- yarn config set enableGlobalCache false
- yarn install --immutable --check-cache - yarn install --immutable --check-cache
artifacts: artifacts:
paths: paths:
...@@ -44,7 +43,6 @@ test: ...@@ -44,7 +43,6 @@ test:
image: image:
name: 'node:18.16.0' name: 'node:18.16.0'
script: script:
- yarn config set enableGlobalCache false
- yarn test - yarn test
build: build:
...@@ -59,7 +57,6 @@ build: ...@@ -59,7 +57,6 @@ build:
image: image:
name: 'node:18.16.0' name: 'node:18.16.0'
script: script:
- yarn config set enableGlobalCache false
- yarn build - yarn build
artifacts: artifacts:
paths: paths:
...@@ -83,7 +80,7 @@ build: ...@@ -83,7 +80,7 @@ build:
ENVIRONMENT_ID: $CI_ENVIRONMENT_SLUG ENVIRONMENT_ID: $CI_ENVIRONMENT_SLUG
script: script:
- apk add zip - 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} - export GOOGLE_APPLICATION_CREDENTIALS=${GOOGLE_CLOUD_SERVICE_ACCOUNT}
- terraform/environments/scripts/create-or-update-env.sh $ENVIRONMENT_ID $CI_COMMIT_SHA - terraform/environments/scripts/create-or-update-env.sh $ENVIRONMENT_ID $CI_COMMIT_SHA
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment