Skip to content

Commit ce30e55

Browse files
committed
test -1
1 parent 26b0211 commit ce30e55

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/bun-pver-release.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,30 @@ jobs:
2424
- run: npm install -g pver
2525
- run: bun install --frozen-lockfile
2626
- run: bun run build
27-
- run: pver release
27+
- run: pver release --readme
2828
env:
2929
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
3030
GITHUB_TOKEN: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
3131
GIT_USER_NAME: "tscircuitbot"
3232
GIT_USER_EMAIL: "tscircuitbot@users.noreply.github.com"
33+
- name: Create Pull Request with updated package.json
34+
id: create-pr
35+
uses: peter-evans/create-pull-request@v5
36+
with:
37+
commit-message: "chore: update package.json after release"
38+
title: "chore: update package.json after release"
39+
body: "Automated update of package.json after pver release"
40+
branch: update-package-json-${{ github.run_number }}
41+
base: main
42+
token: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
43+
committer: tscircuitbot <githubbot@tscircuit.com>
44+
author: tscircuitbot <githubbot@tscircuit.com>
45+
- name: Enable auto-merge with CI checks
46+
if: steps.create-pr.outputs.pull-request-number != ''
47+
run: |
48+
gh pr merge ${{ steps.create-pr.outputs.pull-request-number }} --auto --squash --delete-branch
49+
env:
50+
GH_TOKEN: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }}
3351
# - name: Trigger upstream repo updates
3452
# if: env.UPSTREAM_REPOS && env.PACKAGE_NAMES
3553
# run: |

index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
console.log("Hello via Bun!");
22

33

4-
console.log("Hello via Bun!");
5-
64

0 commit comments

Comments
 (0)