Skip to content

Commit 1259376

Browse files
authored
chore: update CI scripts (#67)
1 parent d259709 commit 1259376

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/bump-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Bump version
3636
id: bump
37-
run: pnpm run bump-version
37+
run: npx tsx scripts/bump-version.ts
3838

3939
- name: Create PR
4040
uses: peter-evans/create-pull-request@v7

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"test": "turbo run test",
1111
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1212
"pr": "gh pr create --fill-first --base dev",
13-
"bump-version": "npx tsx scripts/bump-version.ts",
13+
"merge-main": "gh pr create --title \"merge dev to main\" --body \"\" --base main --head dev",
14+
"bump-version": "gh workflow run .github/workflows/bump-version.yml --ref dev",
1415
"publish-all": "pnpm --filter \"./packages/**\" -r publish --access public --tag next",
1516
"publish-preview": "pnpm --filter \"./packages/**\" -r publish --tag next --force --registry https://preview.registry.zenstack.dev/",
1617
"unpublish-preview": "pnpm --filter \"./packages/**\" -r --shell-mode exec -- npm unpublish -f --registry https://preview.registry.zenstack.dev/ \"\\$PNPM_PACKAGE_NAME\""

0 commit comments

Comments
 (0)