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
47 changes: 42 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: CI
run-name: Running continuous integration on ${{ github.actor }}'s commits

# Triggers:
# - push to ANY branch (catches feature branches, not tags)
# - pull requests targeting main
# Does NOT fire on tag-only pushes or unrelated events.
on:
push:
Comment thread
rootandroo marked this conversation as resolved.
branches:
- main
- "**"
pull_request:
branches:
- main

jobs:
backend-ci:
backend-pretest:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -20,14 +26,45 @@ jobs:
distribution: "temurin"
java-version: "25"

frontend-ci:
runs-on: ubuntu-latest
- name: Format check (Spotless)
run: ./mvnw spotless:check

- name: Style check (Checkstyle)
run: ./mvnw checkstyle:check

- name: Compile check
run: ./mvnw compile

frontend-pretest:
runs-on: ubuntu-latest
defaults:
run:
working-directory: js
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Set up node
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: "24"

- name: Setup pnpm
uses: pnpm/action-setup@v6
with:
version: 10.24.0
Comment thread
rootandroo marked this conversation as resolved.

- name: Install dependencies
run: pnpm install

- name: Type check
run: pnpm run typecheck

- name: Format check
run: pnpm run prettier

- name: Lint
run: pnpm run lint

- name: Compile check
run: pnpm run build
2 changes: 1 addition & 1 deletion js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint": "pnpm run eslint && pnpm run stylelint",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"stylelint": "stylelint '**/*.css'",
"stylelint": "stylelint '**/*.css' --allow-empty-input",
"stylelint:fix": "stylelint '**/*.css' --fix",
"prettier": "prettier --check .",
"prettier:fix": "prettier --write .",
Expand Down