Skip to content

Commit bccf7ca

Browse files
author
I528989
committed
fix(ci): stabilize node/go smoke and add Next.js root layout
1 parent d592b98 commit bccf7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
run: echo 'No lint config yet';
6464
- name: Smoke run
6565
working-directory: templates/node
66-
run: node src/index.js & sleep 2 && curl -f http://localhost:3001/ || echo 'Sample run complete'
66+
run: node src/index.js & PID=$!; sleep 2; curl -f http://localhost:3001/health; kill $PID || true
6767

6868
frontend:
6969
name: Next.js Template
@@ -120,7 +120,7 @@ jobs:
120120
- uses: actions/checkout@v4
121121
- name: Build
122122
working-directory: templates/go
123-
run: go build -v ./...
123+
run: go build -v -o service main.go
124124
- name: Vet
125125
working-directory: templates/go
126126
run: go vet ./...

0 commit comments

Comments
 (0)