Commit 5ed5a05
feat(cli): scaffold .github/workflows/ci.yml in junior init (#391)
`junior init` now scaffolds a `.github/workflows/ci.yml` so new Junior
apps ship with CI validation out of the box.
**Scaffolded Workflow**
The generated workflow runs on push to `main` and on pull requests with
steps: checkout, pnpm 10 setup, Node 24, `pnpm install
--frozen-lockfile`, `pnpm check` (validates skills, plugins, and app
structure), and `pnpm build`.
**pnpm versioning**
pnpm version is declared via `pnpm/action-setup`'s `version: 10` input
rather than a `packageManager` field in `package.json`. Scaffolded
projects don't actively maintain a version pin, so `packageManager`
would go stale immediately. Users who want corepack pinning can add it
themselves when ready.
Fixes #390
---------
Co-authored-by: junior[bot] <junior[bot]@sentry.io>
Co-authored-by: Claude (anthropic/claude-opus-4.6) <noreply@anthropic.com>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>1 parent be1f4d5 commit 5ed5a05
2 files changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
59 | 90 | | |
60 | 91 | | |
61 | 92 | | |
| |||
158 | 189 | | |
159 | 190 | | |
160 | 191 | | |
| 192 | + | |
161 | 193 | | |
162 | 194 | | |
163 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
37 | 48 | | |
38 | 49 | | |
39 | 50 | | |
| |||
0 commit comments