Skip to content

Commit

Permalink
🤖 Add CI publish command without force build (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwkoch authored Aug 2, 2023
1 parent eb32ae9 commit cd92cd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: changesets/action@v1
with:
version: npm run version
publish: npm run publish
publish: npm run publish:ci
commit: 🚀 Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"changeset": "changeset",
"version": "changeset version && npm install && cd packages/mystmd-py && bash scripts/bump-version.sh",
"publish": "npm run clean && npm run build -- --force && changeset publish && git push --follow-tags"
"publish": "npm run clean && npm run build -- --force && changeset publish && git push --follow-tags",
"publish:ci": "npm run build && changeset publish && git push --follow-tags"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
Expand Down

0 comments on commit cd92cd8

Please sign in to comment.