name: 'Run prettify' on: pull_request: push: branches: [main] jobs: prettier: name: Prettier Check runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Enforce Prettier uses: actionsx/prettier@v2 with: args: --check .