Fixed CI
This commit is contained in:
		@@ -24,6 +24,10 @@ before_script:
 | 
			
		||||
    - yarn install --cache-folder .yarn --frozen-lockfile
 | 
			
		||||
    - cd ..
 | 
			
		||||
 | 
			
		||||
.dto_artifacts_need: &dto_artifacts_need
 | 
			
		||||
    job: test_build_dto
 | 
			
		||||
    artifacts: true
 | 
			
		||||
 | 
			
		||||
test_build_dto:
 | 
			
		||||
    stage: setup
 | 
			
		||||
    cache:
 | 
			
		||||
@@ -41,16 +45,21 @@ test_build_dto:
 | 
			
		||||
        - cd frontend
 | 
			
		||||
        - yarn install --cache-folder .yarn --frozen-lockfile
 | 
			
		||||
        - yarn add ../dto
 | 
			
		||||
    artifacts:
 | 
			
		||||
        paths:
 | 
			
		||||
            - dto/lib/
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
test_backend:
 | 
			
		||||
    needs: ["test_build_dto"]
 | 
			
		||||
    needs:
 | 
			
		||||
        - *dto_artifacts_need
 | 
			
		||||
    stage: test
 | 
			
		||||
    script:
 | 
			
		||||
        - yarn lint
 | 
			
		||||
 | 
			
		||||
test_frontend:
 | 
			
		||||
    needs: ["test_build_dto"]
 | 
			
		||||
    needs:
 | 
			
		||||
        - *dto_artifacts_need
 | 
			
		||||
    stage: test
 | 
			
		||||
    script:
 | 
			
		||||
        - cd frontend
 | 
			
		||||
@@ -59,6 +68,7 @@ test_frontend:
 | 
			
		||||
build_backend:
 | 
			
		||||
    stage: build
 | 
			
		||||
    needs:
 | 
			
		||||
        - *dto_artifacts_need
 | 
			
		||||
        - job: test_backend
 | 
			
		||||
          artifacts: false
 | 
			
		||||
    script:
 | 
			
		||||
@@ -71,6 +81,7 @@ build_backend:
 | 
			
		||||
build_frontend:
 | 
			
		||||
    stage: build
 | 
			
		||||
    needs:
 | 
			
		||||
        - *dto_artifacts_need
 | 
			
		||||
        - job: test_frontend
 | 
			
		||||
          artifacts: false
 | 
			
		||||
    script:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user