Skip to content

Commit

Permalink
Merge pull request #20385 from storybookjs/norbert/prettydocs-ci-fix
Browse files Browse the repository at this point in the history
Build: fix prettydocs CI flakyness
  • Loading branch information
ndelangen authored Dec 22, 2022
2 parents f326c60 + 9ef3109 commit 76f2338
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,21 @@ jobs:
- restore_cache:
name: Restore Yarn cache
keys:
- build-yarn-2-cache-v4--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
- prettydocs-yarn-2-cache-v4--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
- run:
name: Install
command: |
cd scripts
yarn install
- save_cache:
name: Save Yarn cache
key: prettydocs-yarn-2-cache-v4--{{ checksum "code/yarn.lock" }}--{{ checksum "scripts/yarn.lock" }}
paths:
- ~/.yarn/berry/cache
- run:
name: Prettier
command: |
cd scripts
yarn
yarn docs:prettier:check
build:
executor:
Expand Down Expand Up @@ -637,3 +646,5 @@ workflows:
parallelism: 26
requires:
- build-sandboxes

# VS Code Extension Version: 1.5.0

0 comments on commit 76f2338

Please sign in to comment.