Skip to content

Commit 2349b7e

Browse files
committed
revert
1 parent 0fdb818 commit 2349b7e

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/release-feature-branch.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
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

0 commit comments

Comments
 (0)