mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-08 00:16:56 +00:00
Merge pull request #96 from wagoid/build/dependabot-updates
chore(deps): aggregated dependabot updates
This commit is contained in:
commit
39179da618
6 changed files with 4660 additions and 3155 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -7,10 +7,10 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2.1.4
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2.1.4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
@ -30,10 +30,10 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v2.1.4
|
||||||
with:
|
with:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2.1.4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
|
||||||
8
.github/workflows/commitlint.yml
vendored
8
.github/workflows/commitlint.yml
vendored
|
|
@ -10,10 +10,10 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
- run: sed -i -E "s/(docker:.+)/Dockerfile/" ./action.yml
|
||||||
- run: echo -n '' > .dockerignore
|
- run: echo -n '' > .dockerignore
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2.1.4
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2.1.4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
@ -35,10 +35,10 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2.1.4
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
- uses: actions/cache@v2
|
- uses: actions/cache@v2.1.4
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.npm
|
~/.npm
|
||||||
|
|
|
||||||
7736
package-lock.json
generated
7736
package-lock.json
generated
File diff suppressed because it is too large
Load diff
16
package.json
16
package.json
|
|
@ -17,7 +17,7 @@
|
||||||
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
"homepage": "https://github.com/wagoid/commitlint-github-action",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^1.2.6",
|
"@actions/core": "^1.2.6",
|
||||||
"@actions/github": "^1.1.0",
|
"@actions/github": "^4.0.0",
|
||||||
"@commitlint/config-angular": "^9.1.2",
|
"@commitlint/config-angular": "^9.1.2",
|
||||||
"@commitlint/config-conventional": "^9.1.2",
|
"@commitlint/config-conventional": "^9.1.2",
|
||||||
"@commitlint/config-lerna-scopes": "^9.1.2",
|
"@commitlint/config-lerna-scopes": "^9.1.2",
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
"commitlint-plugin-jira-rules": "^1.4.0",
|
"commitlint-plugin-jira-rules": "^1.4.0",
|
||||||
"conventional-changelog-lint-config-canonical": "^1.0.0",
|
"conventional-changelog-lint-config-canonical": "^1.0.0",
|
||||||
"dargs": "^7.0.0",
|
"dargs": "^7.0.0",
|
||||||
"execa": "^4.0.3",
|
"execa": "^5.0.0",
|
||||||
"lerna": "^3.22.1"
|
"lerna": "^3.22.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
@ -38,12 +38,12 @@
|
||||||
"@commitlint/test": "^9.0.1",
|
"@commitlint/test": "^9.0.1",
|
||||||
"@commitlint/test-environment": "^9.0.1",
|
"@commitlint/test-environment": "^9.0.1",
|
||||||
"commitlint-plugin-function-rules": "^1.1.20",
|
"commitlint-plugin-function-rules": "^1.1.20",
|
||||||
"conventional-changelog-cli": "^2.1.0",
|
"conventional-changelog-cli": "^2.1.1",
|
||||||
"husky": "^3.1.0",
|
"husky": "^5.0.9",
|
||||||
"jest": "^24.9.0",
|
"jest": "^26.6.3",
|
||||||
"lint-staged": "^10.5.1",
|
"lint-staged": "^10.5.4",
|
||||||
"prettier": "^1.19.1",
|
"prettier": "^2.2.1",
|
||||||
"standard-version": "^9.0.0",
|
"standard-version": "^9.1.0",
|
||||||
"testdouble": "^3.16.1",
|
"testdouble": "^3.16.1",
|
||||||
"yaml": "^1.10.0"
|
"yaml": "^1.10.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,7 @@ const getRangeForPushEvent = () => {
|
||||||
const getRangeForEvent = async () => {
|
const getRangeForEvent = async () => {
|
||||||
if (GITHUB_EVENT_NAME !== pullRequestEvent) return getRangeForPushEvent()
|
if (GITHUB_EVENT_NAME !== pullRequestEvent) return getRangeForPushEvent()
|
||||||
|
|
||||||
const octokit = new github.GitHub(core.getInput('token'))
|
const octokit = github.getOctokit(core.getInput('token'))
|
||||||
const { owner, repo, number } = eventContext.issue
|
const { owner, repo, number } = eventContext.issue
|
||||||
const { data: commits } = await octokit.pulls.listCommits({
|
const { data: commits } = await octokit.pulls.listCommits({
|
||||||
owner,
|
owner,
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,7 @@ const runAction = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
updateEnvVars({ GITHBU_TOKEN: 'test-github-token' })
|
td.replace(github, 'getOctokit', () => new MockOctokit())
|
||||||
td.replace(github, 'GitHub', MockOctokit)
|
|
||||||
|
|
||||||
return require('./action')()
|
return require('./action')()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue