5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00

Merge pull request #193 from wagoid/chore/upgrade-deps-and-readme

chore: upgrade deps and readme
This commit is contained in:
Wagner Santos 2021-07-15 06:04:32 -03:00 committed by GitHub
commit 46370a52cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 53 additions and 13216 deletions

View file

@ -9,3 +9,4 @@ src/action.test.js
src/testUtils.js
.eslintignore
.eslintrc.json
.nvmrc

View file

@ -7,10 +7,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '12.x'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
@ -31,10 +31,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '12.x'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm

View file

@ -10,10 +10,10 @@ jobs:
fetch-depth: 0
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
- run: echo -n '' > .dockerignore
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '14'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm
@ -35,10 +35,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2.1.5
- uses: actions/setup-node@v2.2.0
with:
node-version: '14'
- uses: actions/cache@v2.1.4
- uses: actions/cache@v2.1.6
with:
path: |
~/.npm

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
16

View file

@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
```
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
@ -136,13 +136,13 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v1
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm install
# Run the commitlint action, considering its own dependencies and yours as well 🚀
# `github.workspace` is the path to your repository.
- uses: wagoid/commitlint-github-action@v3
- uses: wagoid/commitlint-github-action@v4
env:
NODE_PATH: ${{ github.workspace }}/node_modules
```

13241
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -55,9 +55,9 @@
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"jest": "^27.0.6",
"lint-staged": "^11.0.0",
"lint-staged": "^11.0.1",
"prettier": "^2.3.2",
"standard-version": "^9.3.0",
"standard-version": "^9.3.1",
"testdouble": "^3.16.1",
"yaml": "^1.10.2"
}