Guideline updates #175
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: Code Linting | |
# This action works with pull requests and pushes | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
- name: Install Prettier | |
run: npm install -g prettier @prettier/plugin-php | |
- name: Run Prettier --check | |
run: prettier --check ${GITHUB_WORKSPACE} |