Merge branch 'next' into update-lib-postinstall

This commit is contained in:
Norbert de Langen 2022-10-04 17:24:42 +02:00
commit 095974fab7
No known key found for this signature in database
GPG Key ID: FD0E78AF9A837762
2 changed files with 1 additions and 7 deletions

View File

@ -12,12 +12,6 @@
<a href="https://circleci.com/gh/storybookjs/storybook">
<img src="https://circleci.com/gh/storybookjs/storybook.svg?style=shield" alt="Build Status on CircleCI" />
</a>
<a href="https://www.codefactor.io/repository/github/storybookjs/storybook">
<img src="https://www.codefactor.io/repository/github/storybookjs/storybook/badge" alt="CodeFactor" />
</a>
<a href="https://snyk.io/test/github/storybookjs/storybook">
<img src="https://snyk.io/test/github/storybookjs/storybook/badge.svg" alt="Known Vulnerabilities" />
</a>
<a href="https://codecov.io/gh/storybookjs/storybook">
<img src="https://codecov.io/gh/storybookjs/storybook/branch/main/graph/badge.svg" alt="codecov" />
</a>

View File

@ -8,7 +8,7 @@ export const chromatic: Task = {
return false;
},
async run(templateKey, { sandboxDir, builtSandboxDir, junitFilename }) {
const tokenEnvVarName = `CHROMATIC_TOKEN_${templateKey.toUpperCase().replace(/\/|-/g, '_')}`;
const tokenEnvVarName = `CHROMATIC_TOKEN_${templateKey.toUpperCase().replace(/\/|-|\./g, '_')}`;
const token = process.env[tokenEnvVarName];
await exec(