File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed
Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff 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: |
Original file line number Diff line number Diff line change 11console . log ( "Hello via Bun!" ) ;
22
33
4- console . log ( "Hello via Bun!" ) ;
5-
64
You can’t perform that action at this time.
0 commit comments