Skip to content

Commit

Permalink
feat: trying
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrc committed Mar 4, 2024
1 parent d31c2fc commit 42b20e3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# NPM_TOKEN: ${{ secrets.CERN_SIS_NPM }}
run: npx semantic-release -v
run: npx semantic-release --dry-run
14 changes: 14 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
import * as rules from "@commitlint/rules";

export default {
extends: ["@commitlint/config-conventional"],
plugins: [
{
rules: {
// Excludes markdown links from body max length calculation
// (needed for semantic-release automatic commits)
"body-max-length": (parsed, _when, _value) => {
parsed.header = parsed.header.replace(/\[([^[\]]+)\]\(([^)]+)\)/, "");
return rules.default["body-max-length"](parsed, _when, _value);
},
},
},
],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-formule",
"private": false,
"version": "1.0.0",
"version": "0.1.0",
"author": "CERN",
"license": "MIT",
"repository": {
Expand Down

0 comments on commit 42b20e3

Please sign in to comment.