Skip to content

Commit 0d6593d

Browse files
committed
Streamline CI runtime matrix and release 0.3.1
1 parent 3419663 commit 0d6593d

File tree

6 files changed

+39
-32
lines changed

6 files changed

+39
-32
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,42 @@ on:
44
push:
55
pull_request:
66

7+
concurrency:
8+
group: ci-${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
validate:
9-
strategy:
10-
fail-fast: false
11-
matrix:
12-
node-version: ["20.19.0", "22.12.0"]
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@v5
1616
- uses: actions/setup-node@v6
1717
with:
18-
node-version: ${{ matrix.node-version }}
18+
node-version: "22.12.0"
1919
cache: npm
2020
- run: npm ci
2121
- run: npm run check
2222

2323
generated-runtime-matrix:
24+
name: generated-runtime-matrix (${{ matrix.group.name }})
25+
needs: validate
2426
runs-on: ubuntu-latest
2527
timeout-minutes: 30
2628
strategy:
2729
fail-fast: false
30+
max-parallel: 3
2831
matrix:
29-
scenario:
30-
- landing-react-vite
31-
- frontend-nextjs
32-
- frontend-astro
33-
- frontend-vue-vite
34-
- frontend-nuxt
35-
- frontend-svelte
36-
- frontend-solidjs
37-
- backend-express
38-
- backend-fastify
39-
- backend-hono
40-
- backend-koa-javascript
41-
- backend-nestjs
42-
- fullstack-nextjs
43-
- fullstack-react-api
44-
- microfrontend-workspace
45-
- chrome-extension-react
46-
- chrome-extension-vanilla-ts
47-
- cli-tool
32+
group:
33+
- name: frontend-core
34+
args: --scenario landing-react-vite --scenario frontend-nextjs --scenario frontend-astro
35+
- name: frontend-apps
36+
args: --scenario frontend-vue-vite --scenario frontend-nuxt --scenario frontend-svelte --scenario frontend-solidjs
37+
- name: backends
38+
args: --scenario backend-express --scenario backend-fastify --scenario backend-hono --scenario backend-koa-javascript --scenario backend-nestjs
39+
- name: fullstack-workspaces
40+
args: --scenario fullstack-nextjs --scenario fullstack-react-api --scenario microfrontend-workspace
41+
- name: extensions-cli
42+
args: --scenario chrome-extension-react --scenario chrome-extension-vanilla-ts --scenario cli-tool
4843
steps:
4944
- uses: actions/checkout@v5
5045
- uses: actions/setup-node@v6
@@ -53,4 +48,4 @@ jobs:
5348
cache: npm
5449
- run: npm ci
5550
- run: npm run build
56-
- run: node dist/bin/runtime-matrix.js --scenario ${{ matrix.scenario }}
51+
- run: node dist/bin/runtime-matrix.js ${{ matrix.group.args }}

.github/workflows/pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
build:
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: actions/checkout@v4
22+
- uses: actions/checkout@v5
2323
- uses: actions/configure-pages@v5
2424
- uses: actions/jekyll-build-pages@v1
2525
with:

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,18 @@ The format follows Keep a Changelog and the version numbers follow Semantic Vers
66

77
## [Unreleased]
88

9+
## [0.3.1] - 2026-03-26
10+
11+
### Changed
12+
13+
- Reduced CI runner pressure by grouping generated runtime scenarios into a smaller set of runtime-matrix jobs instead of spawning one hosted-runner job per scenario.
14+
- Made generated runtime verification wait for repository validation to pass before consuming matrix capacity, so bad commits fail faster and do not queue unnecessary stack jobs.
15+
- Updated this repository and generated project GitHub Actions workflows to use newer `actions/checkout` and `actions/setup-node` releases.
16+
17+
### Fixed
18+
19+
- Added workflow-level concurrency cancellation so superseded pushes stop older CI runs instead of leaving stale jobs queued behind newer commits.
20+
921
## [0.3.0] - 2026-03-26
1022

1123
### Added

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ali-dev11/devforge",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "Production-focused AI-native project scaffolding CLI for JavaScript and TypeScript teams.",
55
"license": "MIT",
66
"author": "Ali-dev11",

src/templates.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2541,7 +2541,7 @@ function ciWorkflow(plan: ProjectPlan): string {
25412541
" validate:",
25422542
" runs-on: ubuntu-latest",
25432543
" steps:",
2544-
" - uses: actions/checkout@v4",
2544+
" - uses: actions/checkout@v5",
25452545
];
25462546

25472547
if (plan.packageManager === "bun") {
@@ -2552,9 +2552,9 @@ function ciWorkflow(plan: ProjectPlan): string {
25522552
);
25532553
} else {
25542554
lines.push(
2555-
" - uses: actions/setup-node@v4",
2555+
" - uses: actions/setup-node@v6",
25562556
" with:",
2557-
" node-version: 22",
2557+
" node-version: 22.12.0",
25582558
` cache: ${plan.packageManager}`,
25592559
);
25602560

0 commit comments

Comments
 (0)