Skip to content

Commit

Permalink
chore: update release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljancar committed Jun 19, 2024
1 parent 212929b commit b7fd75f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .commitlintrc → .commitlintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
2,
"always",
["chore", "docs", "feat", "fix", "refactor", "style", "test"]
]
],
"body-max-line-length": [2, "always", 200],
"footer-max-line-length": [2, "always", 200],
"footer-leading-blank": [1, "always"]
}
}
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,15 @@ jobs:
- name: Stage all changes
run: git add -A

- name: Lint commit messages
run: |
npx commitlint --from HEAD~1 --to HEAD
continue-on-error: true

- name: Semantic Release
env:
GH_RELEASE: ${{ secrets.GH_RELEASE }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
DEBUG: semantic-release:*
run: npx semantic-release --no-verify
1 change: 0 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"arrowParens": "always",
"proseWrap": "preserve",
"htmlWhitespaceSensitivity": "css",
Expand Down

0 comments on commit b7fd75f

Please sign in to comment.