Files
jiggablend/.gitea/workflows/test-pr.yaml
Justin Harms 3f2982ddb3
Some checks failed
PR Check / check-and-test (pull_request) Failing after 42s
Update Gitea workflow to include frontend build step and adjust Go build command
- 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.
2026-01-02 17:46:03 -06:00

16 lines
373 B
YAML

name: PR Check
on:
- pull_request
jobs:
check-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-go@main
with:
go-version-file: 'go.mod'
- run: go mod tidy
- run: cd web && npm install && npm run build
- run: go build ./...
- run: go test -race -v -shuffle=on ./...