Skip to content

Commit

Permalink
fix: dev: repair prettierx in github checks
Browse files Browse the repository at this point in the history
  • Loading branch information
vaab committed May 15, 2024
1 parent a690109 commit 7655796
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ jobs:
- name: 🚚 Install dependencies
run: |
git fetch --unshallow --tags &&
npm install &&
git clone https://github.com/0k/prettierx &&
cd prettierx &&
npm install
- name: ⚔ Check prettierx
id: linter
Expand All @@ -124,7 +127,7 @@ jobs:
mkdir -p "$REPORT_PATH"
REPORT_FILE="$REPORT_PATH/report"
npx prettierx -w src/
prettierx/bin/prettierx.js -w src/
if out=$(git diff --exit-code -- src/); then
echo '### ✔️ code style matches our guidelines' > "$REPORT_FILE"
Expand Down

0 comments on commit 7655796

Please sign in to comment.