feat: add device-agent Dockerfile, pin nginx, add root CI pipeline
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
name: NexusGuard CI
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
tags: ['v*']
|
||||
pull_request:
|
||||
branches: [main]
|
||||
|
||||
jobs:
|
||||
server-core-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/server-core
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.25'
|
||||
- run: go test ./... -tags dev -cover
|
||||
|
||||
device-agent-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/device-agent
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.25'
|
||||
- run: go test ./... -cover
|
||||
|
||||
dashboard-ui-build:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/dashboard-ui
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '24'
|
||||
- run: npm ci
|
||||
- run: npm run build
|
||||
+1
-1
Submodule apps/dashboard-ui updated: 25a4728ac5...76af1062fa
+1
-1
Submodule apps/device-agent updated: 17c299cd82...a864dcd1e9
Reference in New Issue
Block a user