11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-01 15:26:54 +00:00

fix: lerna scopes not working due to missing lerna dependency

`@commitlint/config-lerna-scopes` package depends on lerna but doesn't have `lerna` listed in its dependencies, so the action was failing. Since this action doesn't run in the repo's context, we need to install lerna as a dependency to make it work.
This commit is contained in:
Wagner Santos 2019-10-18 16:44:52 -03:00
parent 2c42093c70
commit 99b068a844
5 changed files with 4755 additions and 155 deletions

View file

@ -20,3 +20,13 @@ jobs:
- uses: ./
with:
configFile: './.commitlintrc.yml'
commitlint-with-lerna-scopes:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v1
- run: sed -i -E "s/([']docker:.+)/Dockerfile/" ./action.yml
- uses: ./
with:
configFile: './.commitlintrc-with-lerna-scopes.yml'