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.
16 lines
373 B
YAML
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 ./... |