File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 68
68
# this expects you to have a script called changeset:release which does a build for your packages and calls changeset publish
69
69
publish : pnpm run changeset:release
70
70
commit : " chore: version packages" # we need to fulfill commitlint based rules
71
- version : " pnpm changeset version && pnpm install && git add . && git commit -m 'chore: update versions and lockfile'"
72
71
env :
73
72
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74
73
NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
75
74
NPM_CONFIG_PROVENANCE : true
76
75
HUSKY : 0 # Disable Husky hooks in CI
76
+
77
+ - name : Update lockfile
78
+ run : |
79
+ pnpm install
80
+ git config user.name "github-actions[bot]"
81
+ git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
82
+ git add .
83
+ git commit -m "chore: version packages and update lockfile" || echo "No changes to commit"
84
+
85
+ - name : Push changes
86
+
87
+ with :
88
+ github_token : ${{ secrets.GITHUB_TOKEN }}
89
+ branch : ${{ github.head_ref }}
You can’t perform that action at this time.
0 commit comments