Skip to content

Commit cd92cd8

Browse files
authored
🤖 Add CI publish command without force build (#520)
1 parent eb32ae9 commit cd92cd8

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
uses: changesets/action@v1
3434
with:
3535
version: npm run version
36-
publish: npm run publish
36+
publish: npm run publish:ci
3737
commit: 🚀 Release
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
1515
"changeset": "changeset",
1616
"version": "changeset version && npm install && cd packages/mystmd-py && bash scripts/bump-version.sh",
17-
"publish": "npm run clean && npm run build -- --force && changeset publish && git push --follow-tags"
17+
"publish": "npm run clean && npm run build -- --force && changeset publish && git push --follow-tags",
18+
"publish:ci": "npm run build && changeset publish && git push --follow-tags"
1819
},
1920
"devDependencies": {
2021
"@changesets/cli": "^2.26.1",

0 commit comments

Comments
 (0)