Skip to content

Commit 38817de

Browse files
committed
chore: init
0 parents  commit 38817de

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# GitHub Actions Nodejs Test
2+
3+
A minimal Node.js/Express application for testing GitHub Actions, Docker builds, and docker-bake workflows.
4+
5+
## Quick Start
6+
7+
### Install Dependencies
8+
9+
```bash
10+
npm install
11+
```
12+
13+
### Local Development
14+
15+
```bash
16+
npm run dev
17+
```
18+
19+
### Build
20+
21+
```bash
22+
npm run build
23+
npm start
24+
```
25+
26+
### Lint
27+
28+
```bash
29+
npm run lint # Check for linting errors
30+
npm run lint:fix # Auto-fix linting errors
31+
```
32+
33+
### Test
34+
35+
```bash
36+
npm test # Run tests once
37+
npm run test:watch # Run tests in watch mode
38+
```
39+
40+
### Docker Build
41+
42+
```bash
43+
docker buildx bake --load
44+
docker run -p 3000:3000 github-actions-test
45+
```
46+
47+
## Endpoints
48+
49+
- `GET /` - Main endpoint with app info
50+
- `GET /health` - Health check endpoint
51+
52+
## Testing
53+
54+
Visit http://localhost:3000 to see the app running.

0 commit comments

Comments
 (0)