File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,16 @@ jobs:
1717 - uses : pnpm/action-setup@v4
1818 with :
1919 version : 10
20- - run : pnpm i --no-frozen-lockfile
21- # Slidev fork ships TypeScript source only (no `dist/` in git);
22- # build its packages so `@slidev/cli` has a runnable `dist/cli.mjs`.
23- - name : Build slidev fork
20+ # Slidev fork ships TS source only (no `dist/` in git); install its own
21+ # workspace deps (tsdown etc.) and build its packages so `@slidev/cli`
22+ # has a runnable `dist/cli.mjs`. Must happen BEFORE the deck's install,
23+ # because the deck's `pnpm-workspace.yaml` links to the fork's packages.
24+ - name : Install + build slidev fork
2425 working-directory : ../../slidev
25- run : pnpm build
26+ run : |
27+ pnpm install --no-frozen-lockfile
28+ pnpm build
29+ - run : pnpm i --no-frozen-lockfile
2630 - run : pnpm build
2731 - uses : JamesIves/github-pages-deploy-action@v4
2832 with :
You can’t perform that action at this time.
0 commit comments