Merge pull request #95 from VaagenIM/dependabot/pip/ruff-approx-eq-0.8.0 #145
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 | |
on: [ push, pull_request ] | |
jobs: | |
prettier: | |
name: Prettier Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Packages | |
run: npm install | |
- name: Run Prettier | |
id: prettier-run | |
uses: rutajdash/[email protected] | |
with: | |
config_path: ./package.json | |
- name: Prettier Output | |
if: ${{ failure() }} | |
shell: bash | |
run: | | |
echo "The following files are not formatted:" | |
echo "${{steps.prettier-run.outputs.prettier_output}}" |