diff --git a/.github/workflows/generateCheck.sh b/.github/workflows/generateCheck.sh index 28010895..848c9345 100755 --- a/.github/workflows/generateCheck.sh +++ b/.github/workflows/generateCheck.sh @@ -1,4 +1,4 @@ -if [ $status == 0]; then +if [ $status == 0 ]; then echo "## Formatting Check passed 🥳" >>$GITHUB_STEP_SUMMARY echo "All files are formatted correctly" >>$GITHUB_STEP_SUMMARY else diff --git a/.github/workflows/prettierCheck.yml b/.github/workflows/prettierCheck.yml index 494a6a86..90af5a33 100644 --- a/.github/workflows/prettierCheck.yml +++ b/.github/workflows/prettierCheck.yml @@ -8,6 +8,7 @@ jobs: - uses: actions/checkout@v4 - name: Prettier check run: | + npm i -g prettier-plugin-tailwindcss echo files=`npx prettier . --check`>> "$GITHUB_ENV" echo status=`echo $?`>>"$GITHUB_ENV" - name: generate github check message