mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33:17 +08:00
ci: Remove husky and lint-staged (#572)
This commit is contained in:
parent
77ce5ecb49
commit
0ed12e5298
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -78,12 +78,6 @@ jobs:
|
|||||||
- name: Run ncc
|
- name: Run ncc
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Remove lint-staged husky
|
|
||||||
if: github.ref == 'refs/heads/main'
|
|
||||||
run: |
|
|
||||||
npm uninstall lint-staged husky
|
|
||||||
git checkout package-lock.json package.json
|
|
||||||
|
|
||||||
- name: Setup mdBook
|
- name: Setup mdBook
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
uses: peaceiris/actions-mdbook@v1.1.14
|
uses: peaceiris/actions-mdbook@v1.1.14
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
npm ci
|
|
||||||
git remote prune origin
|
|
@ -1 +0,0 @@
|
|||||||
npx lint-staged
|
|
994
package-lock.json
generated
994
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@ -16,16 +16,8 @@
|
|||||||
"tsc": "tsc",
|
"tsc": "tsc",
|
||||||
"format": "prettier --write **/*.ts",
|
"format": "prettier --write **/*.ts",
|
||||||
"format:check": "prettier --check **/*.ts",
|
"format:check": "prettier --check **/*.ts",
|
||||||
"release": "standard-version"
|
"release": "standard-version",
|
||||||
},
|
"toc": "npx doctoc@2.0.0 --github README.md"
|
||||||
"lint-staged": {
|
|
||||||
"{src,__tests__}/**/*.ts": [
|
|
||||||
"prettier --check",
|
|
||||||
"eslint"
|
|
||||||
],
|
|
||||||
"README.md": [
|
|
||||||
"npx doctoc@2.0.0 --github"
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -65,11 +57,9 @@
|
|||||||
"eslint-config-prettier": "^7.2.0",
|
"eslint-config-prettier": "^7.2.0",
|
||||||
"eslint-plugin-jest": "^24.1.3",
|
"eslint-plugin-jest": "^24.1.3",
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
"eslint-plugin-prettier": "^3.3.1",
|
||||||
"husky": "^4.3.8",
|
|
||||||
"jest": "^26.6.3",
|
"jest": "^26.6.3",
|
||||||
"jest-circus": "^26.6.3",
|
"jest-circus": "^26.6.3",
|
||||||
"js-yaml": "^4.0.0",
|
"js-yaml": "^4.0.0",
|
||||||
"lint-staged": "^10.5.3",
|
|
||||||
"prettier": "2.2.1",
|
"prettier": "2.2.1",
|
||||||
"standard-version": "^9.1.0",
|
"standard-version": "^9.1.0",
|
||||||
"ts-jest": "^26.5.0",
|
"ts-jest": "^26.5.0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user