refactor: reorganize project structure and update paths for backend and frontend
This commit is contained in:
1 parent
6c1ea2da47
commit
64d22d0aac
11 files changed
+120
-112
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user