mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-11 00:06:25 +08:00
Merge remote-tracking branch 'origin/next' into fix/addon-interactions-build
This commit is contained in:
commit
784bf4e079
@ -12,12 +12,6 @@
|
|||||||
<a href="https://circleci.com/gh/storybookjs/storybook">
|
<a href="https://circleci.com/gh/storybookjs/storybook">
|
||||||
<img src="https://circleci.com/gh/storybookjs/storybook.svg?style=shield" alt="Build Status on CircleCI" />
|
<img src="https://circleci.com/gh/storybookjs/storybook.svg?style=shield" alt="Build Status on CircleCI" />
|
||||||
</a>
|
</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">
|
<a href="https://codecov.io/gh/storybookjs/storybook">
|
||||||
<img src="https://codecov.io/gh/storybookjs/storybook/branch/main/graph/badge.svg" alt="codecov" />
|
<img src="https://codecov.io/gh/storybookjs/storybook/branch/main/graph/badge.svg" alt="codecov" />
|
||||||
</a>
|
</a>
|
||||||
|
@ -8,7 +8,7 @@ export const chromatic: Task = {
|
|||||||
return false;
|
return false;
|
||||||
},
|
},
|
||||||
async run(templateKey, { sandboxDir, builtSandboxDir, junitFilename }) {
|
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];
|
const token = process.env[tokenEnvVarName];
|
||||||
|
|
||||||
await exec(
|
await exec(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user