Skip to content

New Version

New Version #70

Workflow file for this run

name: CI
on:
workflow_dispatch:
workflow_call:
pull_request:
jobs:
test-backend:
name: Test Backend
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '17'
- name: Build with Maven
working-directory: ./backend
run: mvn clean install
- name: Run Tests
working-directory: ./backend
run: mvn test
test-frontend:
name: Test Frontend
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Dependencies
run: npm ci
working-directory: ./frontend
- name: Run Tests
run: npm run test
working-directory: ./frontend