adding call frequency #198
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: Critterbase Development Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- name: Create ENV file | |
run: cp -f ./.docker/env.docker .env | |
- name: Clean containers | |
run: make clean | |
- name: Build and Run containers (db, db_setup, api) | |
run: make backend | |
- name: Check database health | |
uses: stringbean/docker-healthcheck-action@v1 | |
with: | |
container: db-critterbase | |
wait-time: 50 | |
require-status: running | |
require-healthy: true | |
- name: Check API running | |
uses: stringbean/docker-healthcheck-action@v1 | |
with: | |
container: api-critterbase | |
wait-time: 50 | |
require-status: running |