feat: 2.0.0 beta.2 docs #147
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: Continuous Integration | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
prettier: | |
name: Prettier Check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Run Prettier | |
id: prettier-run | |
uses: rutajdash/prettier-cli-action@v1.0.0 | |
with: | |
config_path: ./.prettierrc.yml | |
- name: Prettier Output | |
if: ${{ failure() }} | |
shell: bash | |
run: | | |
echo "The following files are not formatted correctly:" | |
echo "${{steps.prettier-run.outputs.prettier_output}}" |