Skip to content

Commit

Permalink
add check to build containers
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjaszewski committed Jul 8, 2024
1 parent c359f88 commit 3fac548
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,27 @@ jobs:

# TODO add testing for frontend
# - name: Run tests
# run: cd frontend && npm test
# run: cd frontend && npm test
backend-build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build backend Docker container
working-directory: backend
run: |
docker build -t backend .
frontend-build:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Build frontend Docker container
working-directory: frontend
run: |
docker build -t frontend .

0 comments on commit 3fac548

Please sign in to comment.