We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ae5c7f commit 5b930bcCopy full SHA for 5b930bc
.github/workflows/code_health.yaml
@@ -36,3 +36,23 @@ jobs:
36
echo "Try running: npm run build"
37
exit 1
38
fi
39
+ prettier:
40
+ name: Prettier Check
41
+ runs-on: ubuntu-latest
42
+ steps:
43
+ - uses: GitHubSecurityLab/actions-permissions/monitor@v1
44
+ with:
45
+ config: ${{ vars.PERMISSIONS_CONFIG }}
46
+ - name: Checkout Repository
47
+ uses: actions/checkout@v2
48
+ - name: Run Prettier
49
+ id: prettier-run
50
+ uses: rutajdash/[email protected]
51
52
+ config_path: ./.prettierrc.yml
53
+ - name: Prettier Output
54
+ if: ${{ failure() }}
55
+ shell: bash
56
+ run: |
57
+ echo "The following files are not formatted:"
58
+ echo "${{steps.prettier-run.outputs.prettier_output}}"
0 commit comments