Build: Publish next and latest npm channels to Github (#29615)
* build(npm): publish next and latest packages to github registry * ci(release): remove redundant commands from release-npm-packages step * Update scripts/release.star Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> * Update scripts/release.star Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -35,12 +35,10 @@ def release_npm_packages_step(edition, ver_mode):
|
||||
if edition == 'enterprise':
|
||||
return None
|
||||
|
||||
commands = [
|
||||
'./node_modules/.bin/lerna bootstrap',
|
||||
'echo "//registry.npmjs.org/:_authToken=$${NPM_TOKEN}" >> ~/.npmrc',
|
||||
]
|
||||
if ver_mode == 'release':
|
||||
commands.append('./scripts/build/release-packages.sh ${DRONE_TAG}')
|
||||
commands = ['./scripts/build/release-packages.sh ${DRONE_TAG}']
|
||||
else:
|
||||
commands = []
|
||||
|
||||
return {
|
||||
'name': 'release-npm-packages',
|
||||
|
||||
Reference in New Issue
Block a user