11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-04 16:56:52 +00:00

feat: upgrade commitlint to latest version

This commit is contained in:
Wagner Santos 2024-03-28 11:38:50 -03:00
parent 5ce82f5d81
commit 2ff45dc120
17 changed files with 5447 additions and 3587 deletions

View file

@ -53,7 +53,11 @@ jobs:
git config user.email 'github-action@users.noreply.github.com'
git config user.name 'GitHub Action'
- name: Update versions and changelog
run: npx commit-and-tag-version
run: |
# remove `"type": "module"` from package.json since `commit-and-tag-version` doesn't support it
sed -i '/"type": "module",/c\' package.json
npx commit-and-tag-version
git checkout package.json
- name: Set VERSION env var
run: |
version=`node -p "require('./package.json').version"`