mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
chore: Add new task all
This commit is contained in:
parent
75c03d0413
commit
01fdaf2f02
4
Makefile
4
Makefile
@ -21,3 +21,7 @@ test:
|
|||||||
.PHONY: commit
|
.PHONY: commit
|
||||||
commit:
|
commit:
|
||||||
$(DOCKER_RUN) git commit -m "$(msg)"
|
$(DOCKER_RUN) git commit -m "$(msg)"
|
||||||
|
|
||||||
|
.PHONY: all
|
||||||
|
all:
|
||||||
|
$(DOCKER_RUN) npm run all
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
"npm": ">=6.14.2"
|
"npm": ">=6.14.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"all": "npm run format && npm run lint && npm test",
|
||||||
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
"lint": "eslint ./{src,__tests__}/**/*.ts",
|
||||||
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
"lint:fix": "eslint --fix ./{src,__tests__}/**/*.ts",
|
||||||
"test": "jest --coverage --verbose --detectOpenHandles",
|
"test": "jest --coverage --verbose --detectOpenHandles",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user