Update docker-compose.yml #399
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 and build | |
on: | |
pull_request: | |
branches: ["main"] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Sync node version and setup cache | |
uses: actions/setup-node@v3 | |
- name: Install frontend dependencies | |
run: npm install | |
- name: Run prettier | |
run: npm run prettier:check | |
- name: Build frontend | |
run: npm run build |