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:
commit
46370a52cb
7 changed files with 53 additions and 13216 deletions
|
|
@ -9,3 +9,4 @@ src/action.test.js
|
|||
src/testUtils.js
|
||||
.eslintignore
|
||||
.eslintrc.json
|
||||
.nvmrc
|
||||
|
|
|
|||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/commitlint.yml
vendored
8
.github/workflows/commitlint.yml
vendored
|
|
@ -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
1
.nvmrc
Normal file
|
|
@ -0,0 +1 @@
|
|||
16
|
||||
|
|
@ -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
13241
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue