Skip to content

Commit

Permalink
fix formatting check
Browse files Browse the repository at this point in the history
  • Loading branch information
nl32 committed Oct 3, 2024
1 parent 674959d commit c3a1532
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/prettierCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ jobs:
npm i --no-save prettier prettier-plugin-tailwindcss
mv package.json.bak package.json
- name: Run prettier
id: prettier
continue-on-error: true
run: |
files=`npx prettier . -l` || st=$? && st=$?
echo status=`echo $st`>>"$GITHUB_ENV"
echo files=`echo $files`>> "$GITHUB_ENV"
echo "files=${npx prettier . -l}">> "$GITHUB_ENV"
- name: generate errors/summary
run: .github/workflows/generateCheck.sh
env:
status: ${{ success() && 0 || 1 }}

0 comments on commit c3a1532

Please sign in to comment.