XnLemon commented on code in PR #1085:
URL: https://github.com/apache/dubbo-go-pixiu/pull/1085#discussion_r4533692424
##########
.github/workflows/github-actions.yml:
##########
@@ -113,6 +113,34 @@ jobs:
files: ./coverage.txt
flags: unittests
+ admin-build:
+ name: Admin Build
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v5
+ - uses: actions/setup-go@v6
+ with:
+ go-version-file: 'go.mod'
+ cache: true
+
+ - name: Download Go modules
+ run: sh .github/scripts/download-go-modules.sh
+
+ - name: Build Admin backend
+ run: go build -o /tmp/pixiu-admin ./cmd/admin
+
+ - uses: actions/setup-node@v4
+ with:
+ node-version: 22
+ cache: npm
+ cache-dependency-path: admin/web/package-lock.json
+
+ - name: Build Admin frontend
+ working-directory: admin/web
+ run: |
+ npm ci --ignore-scripts
+ npm run build
Review Comment:
sure
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]