Skip to content

Commit

Permalink
fix: force yarn install and update release config
Browse files Browse the repository at this point in the history
This commit changes the `yarn install` command to include the `--force` flag to prevent issues with immutability. Additionally, the release configuration is updated to follow conventional commit standards, including rewording release rules and updating types and sections for release notes.
  • Loading branch information
garrylachman committed May 26, 2023
1 parent b7a2648 commit 9633370
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
corepack yarn config set enableImmutableInstalls false

- name: Install dependencies
run: corepack yarn install
run: corepack yarn install --force

- name: Building Packages
run: corepack yarn build
Expand Down Expand Up @@ -123,7 +123,7 @@ jobs:
corepack yarn config set enableImmutableInstalls false

- name: Install dependencies
run: corepack yarn install
run: corepack yarn install --force

- name: Normalize Assets
env:
Expand Down
50 changes: 46 additions & 4 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,55 @@
"debug": true,
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"preset": "conventionalcommits",
"releaseRules": [
{"type": "docs", "release": "patch"},
{"type": "refactor", "release": "minor"}
]
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"scope": "skip", "release": false}
],
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "feature", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance Improvements"},
{"type": "revert", "section": "Reverts"},
{"type": "refactor", "section": "Code Refactoring"},
{"type": "docs", "section": "Documentation", "hidden": true},
{"type": "style", "section": "Styles", "hidden": true},
{"type": "chore", "section": "Miscellaneous Chores", "hidden": true},
{"type": "test", "section": "Tests", "hidden": true},
{"type": "build", "section": "Build System", "hidden": true},
{"type": "ci", "section": "Continuous Integration", "hidden": true}
]
}
}],
["@semantic-release/release-notes-generator", {
"preset": "conventionalcommits",
"releaseRules": [
{"type": "docs", "release": "patch"},
{"type": "refactor", "release": "patch"},
{"type": "style", "release": "patch"},
{"scope": "skip", "release": false}
],
"presetConfig": {
"types": [
{"type": "feat", "section": "Features"},
{"type": "feature", "section": "Features"},
{"type": "fix", "section": "Bug Fixes"},
{"type": "perf", "section": "Performance Improvements"},
{"type": "revert", "section": "Reverts"},
{"type": "refactor", "section": "Code Refactoring"},
{"type": "docs", "section": "Documentation", "hidden": true},
{"type": "style", "section": "Styles", "hidden": true},
{"type": "chore", "section": "Miscellaneous Chores", "hidden": true},
{"type": "test", "section": "Tests", "hidden": true},
{"type": "build", "section": "Build System", "hidden": true},
{"type": "ci", "section": "Continuous Integration", "hidden": true}
]
}
}],
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
Expand Down

0 comments on commit 9633370

Please sign in to comment.