Skip to content

Commit

Permalink
[github-action] install prettier@2.0.4 in pretty job (openthread#…
Browse files Browse the repository at this point in the history
…9279)

This commit adds command to install `prettier@2.0.4` from the
Bootstrap step in `pretty` job of `build.yml` GitHub Action workflow.
This should help with occasional failure of `pretty` check.
  • Loading branch information
abtink authored and canisLupus1313 committed Jul 27, 2023
1 parent 8cdfe0d commit 686aed1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
sudo apt-get --no-install-recommends install -y clang-format-14 clang-tidy-14 shellcheck
python3 -m pip install yapf==0.31.0
sudo snap install shfmt
npm install prettier@2.0.4
- name: Check
run: |
script/make-pretty check
Expand Down

0 comments on commit 686aed1

Please sign in to comment.