refactor: reorganize project structure and update paths for backend and frontend
Docker / Docker Build & Push (push) Successful in 7m52s
Lint / Lint (push) Successful in 15s
Tests / Go backend (push) Successful in 19s
Tests / Dashboard checks (push) Successful in 18s

This commit is contained in:
Gabriel20xx committed 2026-08-03 22:40:08 +02:00
1 parent 6c1ea2da47
commit 64d22d0aac
11 files changed
+120 -112

No files matched your search

+8 -3
View File
@@ -5,14 +5,18 @@ on:
branches:
- "**"
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- 'docker/**'
- '.github/workflows/docker.yml'
pull_request:
branches:
- main
- master
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- 'docker/**'
- '.github/workflows/docker.yml'
workflow_dispatch: {}
@@ -56,7 +60,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v7
with:
context: ./CollabTableServer
context: .
file: ./docker/Dockerfile
platforms: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/main') && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
push: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
tags: ${{ steps.meta.outputs.tags }}
+6 -4
View File
@@ -5,14 +5,16 @@ on:
branches:
- "**"
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- '.github/workflows/lint.yml'
pull_request:
branches:
- main
- master
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- '.github/workflows/lint.yml'
workflow_dispatch: {}
@@ -22,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: CollabTableServer/webui
working-directory: frontend
permissions:
contents: read
@@ -35,7 +37,7 @@ jobs:
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: CollabTableServer/webui/package-lock.json
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci
+9 -7
View File
@@ -5,14 +5,16 @@ on:
branches:
- "**"
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- '.github/workflows/tests.yml'
pull_request:
branches:
- main
- master
paths:
- 'CollabTableServer/**'
- 'backend/**'
- 'frontend/**'
- '.github/workflows/tests.yml'
workflow_dispatch: {}
@@ -22,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: CollabTableServer
working-directory: backend
permissions:
contents: read
@@ -33,18 +35,18 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: CollabTableServer/go.mod
go-version-file: backend/go.mod
cache: true
- name: Test
run: go test ./...
webui:
frontend:
name: Dashboard checks
runs-on: ubuntu-latest
defaults:
run:
working-directory: CollabTableServer/webui
working-directory: frontend
permissions:
contents: read
@@ -57,7 +59,7 @@ jobs:
with:
node-version: '22'
cache: npm
cache-dependency-path: CollabTableServer/webui/package-lock.json
cache-dependency-path: frontend/package-lock.json
- name: Install dependencies
run: npm ci