Skip to content

Commit 6fb93d5

Browse files
committed
Add scaffold smoke matrix test and update template output
1 parent e5ceca3 commit 6fb93d5

7 files changed

Lines changed: 431 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,31 @@ jobs:
5555
env:
5656
DATABASE_URL: postgresql://user:pass@localhost:5432/db
5757

58+
scaffold-smoke:
59+
runs-on: ubuntu-latest
60+
needs: [lint, typecheck]
61+
steps:
62+
- uses: actions/checkout@v4
63+
64+
- name: Setup pnpm
65+
uses: pnpm/action-setup@v4
66+
67+
- name: Setup Node.js
68+
uses: actions/setup-node@v4
69+
with:
70+
node-version: '20'
71+
cache: 'pnpm'
72+
73+
- name: Install dependencies
74+
run: pnpm install --frozen-lockfile
75+
76+
- name: Run scaffold smoke matrix
77+
run: pnpm run smoke:create-blitzpack:ci
78+
5879
# Tests and build run after lint/typecheck pass
5980
test:
6081
runs-on: ubuntu-latest
61-
needs: [lint, typecheck]
82+
needs: [lint, typecheck, scaffold-smoke]
6283

6384
# PostgreSQL service for integration tests
6485
services:
@@ -111,7 +132,7 @@ jobs:
111132

112133
build:
113134
runs-on: ubuntu-latest
114-
needs: [lint, typecheck]
135+
needs: [lint, typecheck, scaffold-smoke]
115136
steps:
116137
- uses: actions/checkout@v4
117138

create-blitzpack/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,20 @@ pnpm dev # Start development
5858

5959
Full documentation: [github.com/CarboxyDev/blitzpack](https://github.com/CarboxyDev/blitzpack)
6060

61+
## Scaffold Smoke Checks (Repository Maintenance)
62+
63+
Run from repository root:
64+
65+
```bash
66+
pnpm smoke:create-blitzpack
67+
```
68+
69+
For a wider matrix:
70+
71+
```bash
72+
pnpm smoke:create-blitzpack:full
73+
```
74+
6175
## License
6276

6377
MIT

create-blitzpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-blitzpack",
3-
"version": "0.1.20",
3+
"version": "0.1.21",
44
"description": "Create a new Blitzpack project - full-stack TypeScript monorepo with Next.js and Fastify",
55
"type": "module",
66
"bin": {

0 commit comments

Comments
 (0)