docs: automatic updates implementation plan #181
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test-go: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: golang:1.24-alpine | |
| steps: | |
| - name: Install Node.js | |
| run: apk add --no-cache nodejs npm | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Run Go tests | |
| working-directory: services/host-agent | |
| run: go run gotest.tools/gotestsum@latest --format testdox ./... | |
| build-ui: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: golang:1.24-alpine | |
| steps: | |
| - name: Install Node.js | |
| run: apk add --no-cache nodejs npm | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| working-directory: services/host-agent/web | |
| run: npm ci | |
| - name: Lint and typecheck | |
| working-directory: services/host-agent/web | |
| run: npm run check | |
| - name: Build | |
| working-directory: services/host-agent/web | |
| run: npm run build |