Skip to content

Commit d393d47

Browse files
committed
fix(action): call branch sync after changeset release
1 parent 5705cbf commit d393d47

File tree

5 files changed

+321
-2
lines changed

5 files changed

+321
-2
lines changed

.changeset/curvy-moose-relax.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"enspire": patch
3+
---
4+
5+
Minor bug fixes

.github/workflows/on-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ jobs:
6868
- name: Create Release Pull Request
6969
uses: changesets/action@v1
7070
with:
71-
publish: npx @changesets/cli publish
71+
publish: pnpm publish
7272
env:
7373
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"update-classroom-data": "tsx utils/update-classroom-data.ts",
1515
"lint": "eslint .",
1616
"lint:fix": "eslint . --fix",
17-
"typecheck": "vue-tsc --noEmit --skipLibCheck"
17+
"typecheck": "vue-tsc --noEmit --skipLibCheck",
18+
"publish": "npx @changesets/cli publish && tsx utils/trigger-publish.ts"
1819
},
1920
"dependencies": {
2021
"@changesets/cli": "^2.27.10",
@@ -82,6 +83,7 @@
8283
"netlify": "^13.1.21",
8384
"nuxt": "^3.14.1592",
8485
"nuxt-svgo": "^4.0.6",
86+
"octokit": "^4.0.2",
8587
"prisma": "^6.0.1",
8688
"shadcn-nuxt": "^0.10.4",
8789
"tsx": "^4.19.1",

0 commit comments

Comments
 (0)