Skip to content

Commit

Permalink
chore: update release system
Browse files Browse the repository at this point in the history
  • Loading branch information
Clovis committed Nov 2, 2024
1 parent 0847e96 commit f3ad087
Show file tree
Hide file tree
Showing 6 changed files with 1,112 additions and 15 deletions.
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
6 changes: 5 additions & 1 deletion .github/workflows/webpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

- name: Bump version
run: |
npx yarn
npx commit-and-tag-version
- id: set_var
run: |
content=`cat ./package.json`
Expand All @@ -34,7 +39,6 @@ jobs:
run: |
# Build one time for release
export NODE_ENV=production
yarn
yarn build
mv static dist
zip -r static.zip dist
Expand Down
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx commitlint --edit $1
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional'],
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"browserslist": "^4.16.6",
"cheerio": "^1.0.0-rc.10",
"classnames": "^2.2.5",
"commit-and-tag-version": "^12.5.0",
"copy-webpack-plugin": "^9.0.1",
"core-js": "^3.15.2",
"cryptocurrency-icons": "^0.18.0",
Expand Down Expand Up @@ -234,7 +235,6 @@
"lint-staged": ">=10",
"raf": "^3.4.1",
"react-intl-translations-manager": "^5.0.3",
"standard-version": "^9.5.0",
"stylelint": "^13.7.2",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.18.0",
Expand Down
Loading

0 comments on commit f3ad087

Please sign in to comment.