Merge pull request #21 from DurianPy-Davao-Python-User-Group/feature/… #7
This file contains hidden or 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: Frontend Formatting Check on Push | |
| on: | |
| push: | |
| paths: | |
| - frontend/** | |
| jobs: | |
| prettier-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '16' | |
| - name: Install Dependencies | |
| run: npm install prettier@3.0.3 | |
| working-directory: ./frontend | |
| - name: Run Prettier Check | |
| run: npx prettier --check . | |
| working-directory: ./frontend |