Skip to content

Commit b7fd11a

Browse files
committed
prettier is not being pretty
1 parent 4f57bbf commit b7fd11a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,9 +616,10 @@ jobs:
616616
with:
617617
directory: offlinedocs
618618

619-
- name: Install prettier
619+
- name: Install prettier globally
620620
run: |
621621
cd offlinedocs
622+
yarn
622623
mv package.json package.json.bak
623624
jq '{dependencies: {prettier: .devDependencies.prettier}}' < package.json.bak > package.json
624625
yarn --frozen-lockfile
@@ -632,7 +633,7 @@ jobs:
632633
- name: Lint
633634
run: |
634635
cd offlinedocs
635-
yarn && yarn lint
636+
yarn lint
636637
637638
- name: Build
638639
run: |

0 commit comments

Comments
 (0)