create image file upload functionality for user image update as well as user data update functionality in the back end #89
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: Prettier | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
- staging | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install frontend dependencies | |
run: | | |
cd frontend | |
npm install | |
- name: Install backend dependencies | |
run: | | |
cd backend | |
npm install | |
- name: Check frontend code | |
run: | | |
cd frontend | |
npx prettier --check . | |
- name: Check backend code | |
run: | | |
cd backend | |
npx prettier --check . |