Updated ci
This commit is contained in:
		
							
								
								
									
										16
									
								
								frontend/.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								frontend/.gitlab-ci.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
test_and_build_frontend:
 | 
			
		||||
    image: node:latest
 | 
			
		||||
    stage: build
 | 
			
		||||
    cache:
 | 
			
		||||
        key: frontend
 | 
			
		||||
        paths:
 | 
			
		||||
            - frontend/.yarn
 | 
			
		||||
            - frontend/node_modules
 | 
			
		||||
    script:
 | 
			
		||||
        - cd frontend
 | 
			
		||||
        - yarn install --cache-folder .yarn --frozen-lockfile
 | 
			
		||||
        - yarn lint
 | 
			
		||||
        - yarn build
 | 
			
		||||
    artifacts:
 | 
			
		||||
        paths:
 | 
			
		||||
            - frontend/dist/
 | 
			
		||||
		Reference in New Issue
	
	Block a user