mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 12:41:06 +08:00
fix and add a CI check that generated files are not mutated during CI run
This commit is contained in:
parent
3ec6235095
commit
8b7bc3b31a
@ -92,7 +92,9 @@ jobs:
|
||||
command: yarn install --immutable
|
||||
- run:
|
||||
name: Bootstrap
|
||||
command: yarn bootstrap --build
|
||||
command: |
|
||||
yarn bootstrap --build
|
||||
git diff --exit-code
|
||||
- save_cache:
|
||||
name: Save Yarn cache
|
||||
key: build-yarn-2-cache-v3--{{ checksum "yarn.lock" }}
|
||||
|
@ -9,7 +9,7 @@ import { safeResolve } from './safeResolve';
|
||||
export const getData = async (options: Options) => {
|
||||
const refs = getRefs(options);
|
||||
const features = options.presets.apply<Record<string, string | boolean>>('features');
|
||||
const logLevel = options.presets.apply<Record<string, string | boolean>>('logLevel');
|
||||
const logLevel = options.presets.apply<string>('logLevel');
|
||||
const title = options.presets.apply<string>('title');
|
||||
const template = readTemplate('template.ejs');
|
||||
const customHead = safeResolve(join(options.configDir, 'manager-head.html'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user