httpcat-cli 0.0.27-rc.4 → 0.0.27-rc.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -350,7 +350,8 @@ jobs:
|
|
|
350
350
|
fi
|
|
351
351
|
|
|
352
352
|
- name: Run tests
|
|
353
|
-
run: bun test
|
|
353
|
+
run: bun run test
|
|
354
|
+
# Note: Using Vitest now instead of Jest
|
|
354
355
|
|
|
355
356
|
- name: Build
|
|
356
357
|
run: bun run build
|
|
@@ -453,10 +454,12 @@ jobs:
|
|
|
453
454
|
runs-on: ubuntu-latest
|
|
454
455
|
needs: [prepare, publish-npm]
|
|
455
456
|
steps:
|
|
456
|
-
- name: Checkout
|
|
457
|
+
- name: Checkout homebrew tap
|
|
457
458
|
uses: actions/checkout@v6
|
|
458
459
|
with:
|
|
460
|
+
repository: hathbanger/homebrew-httpcat
|
|
459
461
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
462
|
+
path: homebrew-tap
|
|
460
463
|
|
|
461
464
|
- name: Wait for npm CDN propagation
|
|
462
465
|
run: |
|
|
@@ -487,7 +490,7 @@ jobs:
|
|
|
487
490
|
run: |
|
|
488
491
|
VERSION="${{ needs.prepare.outputs.version }}"
|
|
489
492
|
SHA256="${{ steps.npm-sha.outputs.sha256 }}"
|
|
490
|
-
FORMULA_FILE="homebrew-
|
|
493
|
+
FORMULA_FILE="homebrew-tap/Formula/httpcat.rb"
|
|
491
494
|
|
|
492
495
|
# Update version
|
|
493
496
|
sed -i.bak "s|url \".*httpcat-cli-.*\.tgz\"|url \"https://registry.npmjs.org/httpcat-cli/-/httpcat-cli-${VERSION}.tgz\"|" "$FORMULA_FILE"
|
|
@@ -505,10 +508,11 @@ jobs:
|
|
|
505
508
|
|
|
506
509
|
- name: Commit and push Homebrew formula update
|
|
507
510
|
run: |
|
|
511
|
+
cd homebrew-tap
|
|
508
512
|
git config user.name "github-actions[bot]"
|
|
509
513
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
|
510
|
-
git add
|
|
511
|
-
git commit -m "
|
|
514
|
+
git add Formula/httpcat.rb
|
|
515
|
+
git commit -m "Update httpcat to ${{ needs.prepare.outputs.version }}" || exit 0
|
|
512
516
|
git push
|
|
513
517
|
|
|
514
518
|
# Job 5: Create GitHub Release
|