Running formatting check #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier Formatting Check | |
run-name: Running formatting check | |
on: [push] | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Prettier check | |
run: | | |
npm i --no-save prettier-plugin-tailwindcss prettier | |
echo files=`npx prettier . --check`>> "$GITHUB_ENV" | |
echo status=`echo $?`>>"$GITHUB_ENV" | |
- name: generate github check message | |
run: .github/workflows/generateCheck.sh |