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

test: add tests for the action

This commit is contained in:
Wagner Santos 2019-12-09 20:05:44 -03:00
parent be6d99998b
commit eac721a186
19 changed files with 4568 additions and 192 deletions

View file

@ -1,5 +1,5 @@
name: Commitlint
on: [pull_request]
on: [push, pull_request]
jobs:
commitlint:
@ -22,14 +22,3 @@ 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
- run: echo -n '' > .dockerignore
- uses: ./
with:
configFile: './.commitlintrc-with-lerna-scopes.yml'