Skip to content

Commit 24d755e

Browse files
authored
Merge pull request #9 from BhaskarKulshrestha/feature/pr-ci-workflow
Feature/pr ci workflow
2 parents 0fbc64a + 7653eb3 commit 24d755e

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

.github/workflows/pr-ci.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,11 @@ jobs:
120120
- uses: actions/checkout@v4
121121
- name: Build
122122
working-directory: templates/go
123-
run: go build -v ./...
124-
- name: Vet
125-
working-directory: templates/go
126-
run: go vet ./...
123+
run: go build -o service main.go
127124
- name: Run & health
128125
working-directory: templates/go
129126
run: |
130-
go run . &
127+
./service &
131128
PID=$!
132129
sleep 2
133130
curl -f http://127.0.0.1:3002/health || (echo 'no health'; kill $PID; exit 1)

templates/frontend/app/layout.jsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
export const metadata = {
2+
title: 'Frontend Service',
3+
description: 'Scaffolded by create-polyglot',
4+
};
5+
6+
export default function RootLayout({ children }) {
7+
return (
8+
<html lang="en">
9+
<body style={{margin:0,fontFamily:'sans-serif'}}>{children}</body>
10+
</html>
11+
);
12+
}

templates/node/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,4 @@ app.get('/health', (_req, res) => {
1010
app.listen(port, () => {
1111
console.log(`[node] service listening on :${port}`);
1212
});
13+
// test node change 2025-10-05 19:51:20

0 commit comments

Comments
 (0)