From a12856a6d22795e563fc5d49f340c91fddbb53b9 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Fri, 7 Jun 2024 14:50:20 -1000 Subject: [PATCH] fix(build): :green_heart: Fix JSR package not building --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index be7607d..a2a74c6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,7 +58,7 @@ jobs: run: sed -i --follow-symlinks 's/getHeapStatistics().heap_size_limit/99999999/g' "node_modules/@npmcli/arborist/lib/packument-cache.js" - name: Publish to NPM - run: bunx @morlay/bunpublish --provenance --tag ${{ github.event.inputs.tag }} + run: cd ${{ github.event.inputs.package }} && bunx @morlay/bunpublish --provenance --tag ${{ github.event.inputs.tag }} - name: Publish to JSR - run: bunx jsr publish --allow-slow-types --allow-dirty + run: cd ${{ github.event.inputs.package }} && bunx jsr publish --allow-slow-types --allow-dirty