Skip to content

Commit

Permalink
refactor(config): updates commitlint and the ci pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
csantiago132 committed Oct 3, 2024
1 parent 8111074 commit 11507db
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ jobs:
- name: Run Prettier
run: pnpm prettier --check . # Use pnpm

- name: Delete existing semantic-release PR branches
run: |
git fetch --prune
BRANCHES=$(git branch -r | grep 'semantic-release-pr-' || true)
if [ -n "$BRANCHES" ]; then
echo "$BRANCHES" | sed 's/origin\///' | xargs -r git push origin --delete {}
else
echo "No semantic-release PR branches found."
fi
shell: bash

- name: Run Semantic Release
if: github.ref == 'refs/heads/main'
env:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kurocado-studio/style-guide",
"version": "1.2.1",
"version": "1.3.0",
"description": "Kurocado Studio's engineering style guide",
"homepage": "https://github.com/Kurocado-Studio/styleguide",
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion src/commitlint/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
'scope-enum': [
2,
'always',
['config', 'docs', 'ci', 'release', 'ui', 'api', 'deps', 'typescript'],
['config', 'docs', 'ci', 'release', 'ui', 'api', 'deps'],
],
'type-enum': [
2,
Expand Down

0 comments on commit 11507db

Please sign in to comment.