From de12e6f1ecde1d5daefbb7b6fb77e668d2f16a68 Mon Sep 17 00:00:00 2001 From: root <39386799+NobleMajo@users.noreply.github.com> Date: Fri, 28 Feb 2025 22:00:25 +0000 Subject: [PATCH] Fix: dist missing after pipeline publish --- .github/workflows/auto-update.yml | 2 +- .github/workflows/npm-publish.yml | 5 +++-- bun.lockb | Bin 10925 -> 10925 bytes package.json | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index eae9ace..927aab5 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -26,7 +26,7 @@ jobs: run: | bun bump bun update - bun run build + bun run b bun test --if-present - name: Commit and push changes diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index e79979e..cff1198 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -24,13 +24,13 @@ jobs: - name: Update bun dependencies run: | bun i - bun run build + bun run b bun run test --if-present - name: Commit and push changes uses: EndBug/add-and-commit@v9 with: - add: 'package*.json' + add: 'package*.json bun.lockb' message: 'Bot: bun deps update' - name: Store build artifacts @@ -40,6 +40,7 @@ jobs: path: | dist package*.json + bun.lockb publish-npmjs-com: needs: build diff --git a/bun.lockb b/bun.lockb index de9a525ab91c45154d8bd26f03f5308fc2740fe6..8b445e7a341211706a3d116a4d8f14013ae0c860 100755 GIT binary patch delta 261 zcmV+g0s8)}RjpN!E+Bpm$5W>bE!oj`-KOQ9Qs{riALi6SGxF7w>>Oaa8OgCu$_D`i zlR*L}lRyX<0R)pl0w=S82z?4bLfe((;}P@v-6)$j*Lbj8I$u`#?2z@?{Vf@YR_snR z8Oh74J+l_@Xa8Oj-@s01jc+W(jh2jrltpvpA1X`~lRXm{K%6u3nH{w4mPDao_yMc$ z5vIQ>m%pl7+c760s+2II^VtZeJEsFE5ZJ`Dcnm3^BPJZa$E)9|AVAdxH*AnefY^banQQJEL#K6hhqvk@VVp<$>`|jP z_Bv8{q4Z2xn@06CD+%I99#1+3n4P8DlSowilRXm{Ktv|YAD5-C*du^3gN8)Yx&SuS zdr1Q?{fCAbt^YV=ifKb97;BY%X(UZFXgHlYt>80ssKBry*Ad0Wy>S MC_(`;vqC9r0e4_>_5c6? diff --git a/package.json b/package.json index c649cb1..326fcf6 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "scripts": { "bump": "bun --print \"const pkg = await Bun.file('package.json').json(); pkg.version = pkg.version.split('.').map((v, i) => i===2?+v+1:v).join('.'); await Bun.write('package.json', JSON.stringify(pkg, null, 2)); export default pkg.version\"", "test": "bun test", - "build": "bun run .github/build.ts" + "b": "bun run .github/build.ts" }, "files": [ "./src" @@ -62,7 +62,7 @@ }, "devDependencies": { "bun-plugin-dts": "^0.3.0", - "@types/bun": "^1.2.2" + "@types/bun": "^1.2.4" }, "peerDependencies": { "typescript": "^5.6.2"