mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
Adding yarn scripts for changelog validation (#11868)
This commit is contained in:
parent
a1385b4f41
commit
a44d863093
@ -304,7 +304,7 @@ jobs:
|
||||
steps:
|
||||
- run:
|
||||
name: Validate changelog
|
||||
command: yarn auto-changelog validate
|
||||
command: yarn lint:changelog
|
||||
- when:
|
||||
condition:
|
||||
matches:
|
||||
@ -313,7 +313,7 @@ jobs:
|
||||
steps:
|
||||
- run:
|
||||
name: Validate release candidate changelog
|
||||
command: yarn auto-changelog validate --rc
|
||||
command: yarn lint:changelog:rc
|
||||
|
||||
|
||||
test-deps-audit:
|
||||
|
@ -48,6 +48,8 @@
|
||||
"lint:fix": "prettier --write '**/*.json' && eslint . --ext js --cache --fix",
|
||||
"lint:changed": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint",
|
||||
"lint:changed:fix": "{ git ls-files --others --exclude-standard ; git diff-index --name-only --diff-filter=d HEAD ; } | grep --regexp='[.]js$' | tr '\\n' '\\0' | xargs -0 eslint --fix",
|
||||
"lint:changelog": "auto-changelog validate",
|
||||
"lint:changelog:rc": "auto-changelog validate --rc",
|
||||
"lint:shellcheck": "./development/shellcheck.sh",
|
||||
"lint:styles": "stylelint '*/**/*.scss'",
|
||||
"lint:lockfile": "lockfile-lint --path yarn.lock --allowed-hosts npm yarn github.com codeload.github.com --empty-hostname false --allowed-schemes \"https:\" \"git+https:\"",
|
||||
|
Loading…
Reference in New Issue
Block a user