CFE-1 edit .gitlab-ci.yml

This commit is contained in:
2023-10-25 13:26:44 +03:30
parent 8ee736f278
commit fbd125b91d

View File

@@ -44,17 +44,17 @@ merge:test:lint:
- .env.local
- .env.test
merge:test:build:
stage: test:build
script:
- npm run build
only:
- merge_requests
artifacts:
paths:
- node_modules
- .env.local
- .env.test
#merge:test:build:
# stage: test:build
# script:
# - npm run build
# only:
# - merge_requests
# artifacts:
# paths:
# - node_modules
# - .env.local
# - .env.test
build:
stage: build
@@ -97,18 +97,18 @@ test:lint:
- .env.local
- .env.test
test:build:
stage: test:build
script:
- npm run build
only:
- develop
- main
artifacts:
paths:
- node_modules
- .env.local
- .env.test
#test:build:
# stage: test:build
# script:
# - npm run build
# only:
# - develop
# - main
# artifacts:
# paths:
# - node_modules
# - .env.local
# - .env.test
deploy:
stage: deploy