Add yarn-install when publishing npm packages (#48061)

This commit is contained in:
Dimitris Sotirakis 2022-04-21 17:31:39 +03:00 committed by GitHub
parent d99d095ac6
commit 412be1f1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -3067,6 +3067,12 @@ steps:
- chmod +x bin/grabpl
image: byrnedo/alpine-curl:0.1.8
name: grabpl
- commands:
- yarn install --immutable
depends_on:
- grabpl
image: grafana/build-container:1.5.4
name: yarn-install
- commands:
- ./bin/grabpl artifacts npm retrieve --tag v${TAG}
depends_on:
@ -4530,6 +4536,6 @@ kind: secret
name: gcp_upload_artifacts_key
---
kind: signature
hmac: aea46d49d8ad417e04e7b6bc48a7a02affb1b53a1048d0970d4ec7a0d9858eaf
hmac: 9380beb722ab1276e9219ae41fa07c84db1e7dc249f69e42386f868c026e1795
...

View File

@ -423,6 +423,7 @@ def publish_npm_pipelines(mode):
}
steps = [
download_grabpl_step(),
yarn_install_step(),
retrieve_npm_packages_step(),
release_npm_packages_step()
]