Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: CI

on:
pull_request:
push:
branches:
- main

jobs:
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '21'
cache: maven

- name: Run Maven tests
run: mvn -B test

web-ui:
runs-on: ubuntu-latest
defaults:
run:
working-directory: web-ui
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: web-ui/package-lock.json

- name: Install dependencies
run: npm ci

- name: Run Web UI tests
run: npm run test:ci
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ web-ui/*
!web-ui/test/
!web-ui/index.html
!web-ui/package.json
!web-ui/package-lock.json
!web-ui/demo-*.html
!web-ui/e2e/
!web-ui/playwright.config.ts
Expand Down
Loading
Loading