Update Gitea workflow to include frontend build step and adjust Go build command
Some checks failed
PR Check / check-and-test (pull_request) Failing after 42s
Some checks failed
PR Check / check-and-test (pull_request) Failing after 42s
- Added a step to install and build the frontend using npm in the test-pr.yaml workflow. - Modified the Go build command to compile all packages instead of specifying the output binary location. - This change improves the build process by integrating frontend assets with the backend build.
This commit is contained in:
@@ -10,6 +10,7 @@ jobs:
|
||||
- uses: actions/setup-go@main
|
||||
with:
|
||||
go-version-file: 'go.mod'
|
||||
- run: go mod tidy
|
||||
- run: go build -o bin/jiggablend ./cmd/jiggablend
|
||||
- run: go mod tidy
|
||||
- run: cd web && npm install && npm run build
|
||||
- run: go build ./...
|
||||
- run: go test -race -v -shuffle=on ./...
|
||||
Reference in New Issue
Block a user