Skip to content

Commit bc02ba8

Browse files
committed
fix(release): use installed dist deps prune cli
1 parent a5e11ce commit bc02ba8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ jobs:
119119
120120
open_group "Prune package manifest"
121121
cp "$PKG_PATH" "$BACKUP_PKG"
122-
bun x @prover-coder-ai/dist-deps-prune apply \
122+
bun node_modules/@prover-coder-ai/dist-deps-prune/dist/main.js apply \
123123
--package "$PKG_PATH" \
124124
--prune-dev true \
125125
--write
@@ -270,7 +270,7 @@ jobs:
270270
exit 0
271271
fi
272272
273-
bun x @prover-coder-ai/dist-deps-prune release \
273+
bun node_modules/@prover-coder-ai/dist-deps-prune/dist/main.js release \
274274
--package "${PKG_PATH}" \
275275
--command "bash -lc 'cd packages/app && bun publish --ignore-scripts --access public'" \
276276
--silent
@@ -295,7 +295,7 @@ jobs:
295295
printf '%s\n' "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> "$HOME/.npmrc"
296296
297297
bun -e "const p='packages/app/package.json';const pkg=JSON.parse(await Bun.file(p).text());pkg.name='${GH_PKG}';await Bun.write(p, JSON.stringify(pkg, null, 2)+'\n');"
298-
bun x @prover-coder-ai/dist-deps-prune release \
298+
bun node_modules/@prover-coder-ai/dist-deps-prune/dist/main.js release \
299299
--package "packages/app/package.json" \
300300
--command "bash -lc 'cd packages/app && bun publish --ignore-scripts --registry https://npm.pkg.github.com'" \
301301
--silent

0 commit comments

Comments
 (0)