Compare commits
	
		
			2 Commits
		
	
	
		
			ade66d2456
			...
			2710e74ed3
		
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						2710e74ed3 | |
| 
							
							
								
								 | 
						af89e7f63d | 
| 
						 | 
					@ -0,0 +1,19 @@
 | 
				
			||||||
 | 
					pipeline:
 | 
				
			||||||
 | 
					  lint:
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      branch: [main, develop]
 | 
				
			||||||
 | 
					    image: node:lts-alpine
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - yarn install
 | 
				
			||||||
 | 
					      - yarn lint
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  publish:
 | 
				
			||||||
 | 
					    when:
 | 
				
			||||||
 | 
					      event: tag
 | 
				
			||||||
 | 
					      tag: v*
 | 
				
			||||||
 | 
					      branch: [main, develop]
 | 
				
			||||||
 | 
					    image: node:lts-alpine
 | 
				
			||||||
 | 
					    commands:
 | 
				
			||||||
 | 
					      - yarn publish --non-interactive
 | 
				
			||||||
 | 
					    secrets: [ node_auth_token ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,11 +0,0 @@
 | 
				
			||||||
pipeline:
 | 
					 | 
				
			||||||
  deploy:
 | 
					 | 
				
			||||||
    when:
 | 
					 | 
				
			||||||
      event: tag
 | 
					 | 
				
			||||||
      tag: v*
 | 
					 | 
				
			||||||
    image: node:lts-alpine
 | 
					 | 
				
			||||||
    commands:
 | 
					 | 
				
			||||||
      - yarn publish --non-interactive
 | 
					 | 
				
			||||||
    secrets: [ node_auth_token ]
 | 
					 | 
				
			||||||
    depends_on:
 | 
					 | 
				
			||||||
      - lint
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,9 +0,0 @@
 | 
				
			||||||
pipeline:
 | 
					 | 
				
			||||||
  lint:
 | 
					 | 
				
			||||||
    when:
 | 
					 | 
				
			||||||
      branch: [main, develop]
 | 
					 | 
				
			||||||
    image: node:lts-alpine
 | 
					 | 
				
			||||||
    commands:
 | 
					 | 
				
			||||||
      - yarn install
 | 
					 | 
				
			||||||
      - yarn lint
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		Loading…
	
		Reference in New Issue