File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed
Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 3131 - name : Build Prisma client
3232 working-directory : drizzle-orm
3333 run : pnpm prisma generate --schema src/prisma/schema.prisma
34+ - name : Build all
35+ run : pnpm build:artifact
3436 - name : Apply version suffix to packages
3537 shell : bash
3638 run : |
@@ -57,20 +59,18 @@ jobs:
5759 echo "Setting $pkg version to $new_version"
5860
5961 jq --arg v "$new_version" '.version = $v' package.json > package.json.tmp
60- mv package.json.tmp package.json
62+ mv package.json.tmp ./dist/ package.json
6163
6264 popd >/dev/null
6365 done
64- - name : Build all
65- run : pnpm build:artifact
6666 # Upload compiled JS for tests to reuse
67- # - name: Upload build-dist
68- # uses: actions/upload-artifact@v4
69- # with:
70- # name: build-dist
71- # path: |
72- # **/dist
73- # **/*.tsbuildinfo
67+ - name : Upload build-dist
68+ uses : actions/upload-artifact@v4
69+ with :
70+ name : build-dist
71+ path : |
72+ **/dist
73+ **/*.tsbuildinfo
7474 - name : Pack
7575 run : pnpm pack:artifact
7676 - uses : actions/upload-artifact@v4
@@ -203,11 +203,11 @@ jobs:
203203 sleep 5
204204 done
205205
206- # - name: Download build-dist (compiled JS)
207- # uses: actions/download-artifact@v4
208- # with:
209- # name: build-dist
210- # path: .
206+ - name : Download build-dist (compiled JS)
207+ uses : actions/download-artifact@v4
208+ with :
209+ name : build-dist
210+ path : .
211211
212212 # Prisma client was generated in prepare -> build outputs already contain it
213213 # No `pnpm build` here — we reuse dist to save time
You can’t perform that action at this time.
0 commit comments