mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-05 00:56:54 +00:00
fix: rollback update of commitlint to support configs that use commonjs
This commit is contained in:
parent
e15adf3661
commit
06143b235b
17 changed files with 3576 additions and 5435 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -53,11 +53,7 @@ jobs:
|
|||
git config user.email 'github-action@users.noreply.github.com'
|
||||
git config user.name 'GitHub Action'
|
||||
- name: Update versions and changelog
|
||||
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
|
||||
run: npx commit-and-tag-version
|
||||
- name: Set VERSION env var
|
||||
run: |
|
||||
version=`node -p "require('./package.json').version"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue