Fix: NPM canary releases (#66727)

* fix(packages): remove double trailing slash from npmrc credentials

* chore(packages): add new line to storybook config to trigger an npm canary release
This commit is contained in:
Jack Westbrook 2023-04-18 11:02:37 +02:00 committed by GitHub
parent efa641040d
commit e97befa221
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -1738,7 +1738,7 @@ steps:
repo:
- grafana/grafana
- commands:
- ./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org/'
- ./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'
depends_on:
- end-to-end-tests-dashboards-suite
- end-to-end-tests-panels-suite
@ -6823,6 +6823,6 @@ kind: secret
name: enterprise2_security_prefix
---
kind: signature
hmac: 7f282aaf4f3ba496f2d954241a16afd2facbf2cf1ef04dfb75cfec1b42fd39d1
hmac: e8c29c328c07ab24a7f858cc319c9b35a5bec1fc79531e809e5d3a390bbcbc2f
...

View File

@ -100,6 +100,7 @@ const mainConfig: StorybookConfig = {
savePropValueAsString: true,
},
},
webpackFinal: async (config) => {
// expose jquery as a global so jquery plugins don't break at runtime.
config.module?.rules?.push({

View File

@ -1181,7 +1181,7 @@ def release_canary_npm_packages_step(trigger = None):
"NPM_TOKEN": from_secret("npm_token"),
},
"commands": [
"./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org/'",
"./scripts/publish-npm-packages.sh --dist-tag 'canary' --registry 'https://registry.npmjs.org'",
],
}
if trigger: