Add healthcheck to docker-compose config #67
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: CI | |
on: | |
push: | |
pull_request: | |
types: [opened] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: setup node 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: load cached node_modules | |
id: cached-npm-dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ./node_modules | |
key: venv-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | |
- name: install dependencies | |
run: yarn | |
- name: prettier fix | |
run: yarn format | |
- name: auto commit | |
if: github.ref != 'refs/heads/main' | |
uses: stefanzweifel/git-auto-commit-action@v4.15.4 | |
with: | |
commit_message: format / fix code |