mirror of https://github.com/grafana/grafana.git
				
				
				
			Add yarn-install when publishing npm packages (#48061)
This commit is contained in:
		
							parent
							
								
									d99d095ac6
								
							
						
					
					
						commit
						412be1f1cf
					
				|  | @ -3067,6 +3067,12 @@ steps: | ||||||
|   - chmod +x bin/grabpl |   - chmod +x bin/grabpl | ||||||
|   image: byrnedo/alpine-curl:0.1.8 |   image: byrnedo/alpine-curl:0.1.8 | ||||||
|   name: grabpl |   name: grabpl | ||||||
|  | - commands: | ||||||
|  |   - yarn install --immutable | ||||||
|  |   depends_on: | ||||||
|  |   - grabpl | ||||||
|  |   image: grafana/build-container:1.5.4 | ||||||
|  |   name: yarn-install | ||||||
| - commands: | - commands: | ||||||
|   - ./bin/grabpl artifacts npm retrieve --tag v${TAG} |   - ./bin/grabpl artifacts npm retrieve --tag v${TAG} | ||||||
|   depends_on: |   depends_on: | ||||||
|  | @ -4530,6 +4536,6 @@ kind: secret | ||||||
| name: gcp_upload_artifacts_key | name: gcp_upload_artifacts_key | ||||||
| --- | --- | ||||||
| kind: signature | kind: signature | ||||||
| hmac: aea46d49d8ad417e04e7b6bc48a7a02affb1b53a1048d0970d4ec7a0d9858eaf | hmac: 9380beb722ab1276e9219ae41fa07c84db1e7dc249f69e42386f868c026e1795 | ||||||
| 
 | 
 | ||||||
| ... | ... | ||||||
|  |  | ||||||
|  | @ -423,6 +423,7 @@ def publish_npm_pipelines(mode): | ||||||
|     } |     } | ||||||
|     steps = [ |     steps = [ | ||||||
|         download_grabpl_step(), |         download_grabpl_step(), | ||||||
|  |         yarn_install_step(), | ||||||
|         retrieve_npm_packages_step(), |         retrieve_npm_packages_step(), | ||||||
|         release_npm_packages_step() |         release_npm_packages_step() | ||||||
|     ] |     ] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue