Commit 4cc21df
committed
fix(ci): release workspace build + add bundler smoke to ci
Two CI fixes surfaced by the v0.1.0 tag push:
- release.yml: the "Build workspace" step ran
\`pnpm -r build --filter '!@open-codesign/desktop'\`, which pnpm parsed
as "run the recursive build script and pass --filter through as args".
With no package having a build script, pnpm fell into desktop's build
and forwarded --filter to electron-builder, which choked on the
unknown argument. Fix by putting --filter BEFORE -r / the script:
\`pnpm --filter '!@open-codesign/desktop' -r build\`.
- ci.yml: add a bundler smoke step that runs
\`electron-vite build\` on every push. Catches broken imports,
missing assets, and bad vite config on main instead of only when a
tag release lights up. Skip electron-builder packaging (that still
lives in release.yml where the runner-minute cost is justified).1 parent e527f26 commit 4cc21df
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
0 commit comments