Skip to content
name: Build and Deploy
on:
push:
branches:
- dev
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Install Dependencies
run: npm ci
- name: Run Unit Tests
run: npm test
build:
runs-on: ubuntu-latest
needs: tests
if: success()
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Build Docker Image
run: docker build -t preprocessing-webservice:ci .
- name: Change directory
run: cd /home/iacd/ && ls -la
- name: Run Development Docker Compose
run: docker-compose -f /home/iacd/interoperability/system-requirements/docker-compose.yaml up -d