Update README.md #23
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: Format Docs and Code | |
on: [push, pull_request] | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
ssh-key: ${{ secrets.ACTION_PUSH }} | |
- name: Prettify code | |
uses: creyD/[email protected] | |
with: | |
prettier_options: --write **/*.{js,ts,css,html,yml,inc,json,md} |