ci: fix working-directory defaults breaking pre-checkout steps
CI / device-agent-test (push) Has been cancelled
CI / dashboard-test (push) Has been cancelled
CI / build-server-core (push) Has been cancelled
CI / build-device-agent (push) Has been cancelled
CI / build-dashboard (push) Has been cancelled
CI / build-docs (push) Has been cancelled
CI / release (push) Has been cancelled
CI / server-core-test (push) Has been cancelled
CI / device-agent-test (push) Has been cancelled
CI / dashboard-test (push) Has been cancelled
CI / build-server-core (push) Has been cancelled
CI / build-device-agent (push) Has been cancelled
CI / build-dashboard (push) Has been cancelled
CI / build-docs (push) Has been cancelled
CI / release (push) Has been cancelled
CI / server-core-test (push) Has been cancelled
This commit is contained in:
@@ -11,9 +11,6 @@ on:
|
||||
jobs:
|
||||
server-core-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/server-core
|
||||
steps:
|
||||
- name: Configure git auth for submodules
|
||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||
@@ -25,13 +22,11 @@ jobs:
|
||||
with:
|
||||
go-version: '1.26'
|
||||
- name: Test
|
||||
working-directory: apps/server-core
|
||||
run: go test ./... -tags dev -cover
|
||||
|
||||
device-agent-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/device-agent
|
||||
steps:
|
||||
- name: Configure git auth for submodules
|
||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||
@@ -43,13 +38,11 @@ jobs:
|
||||
with:
|
||||
go-version: '1.26'
|
||||
- name: Test
|
||||
working-directory: apps/device-agent
|
||||
run: go test ./... -cover
|
||||
|
||||
dashboard-test:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: apps/dashboard-ui
|
||||
steps:
|
||||
- name: Configure git auth for submodules
|
||||
run: git config --global url."https://x-access-token:${{ secrets.BUILD_TOKEN }}@git.datadunia.com/".insteadOf "https://git.datadunia.com/"
|
||||
@@ -61,8 +54,10 @@ jobs:
|
||||
with:
|
||||
node-version: '24'
|
||||
- name: Install
|
||||
working-directory: apps/dashboard-ui
|
||||
run: npm ci || npm install
|
||||
- name: Build
|
||||
working-directory: apps/dashboard-ui
|
||||
run: npm run build
|
||||
|
||||
build-server-core:
|
||||
|
||||
Reference in New Issue
Block a user