mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-02 05:03:44 +08:00
Merge branch 'next' into update-lib-postinstall
This commit is contained in:
commit
095974fab7
@ -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>
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user