mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-03 10:01:37 +00:00
ci: Remove husky and lint-staged (#572)
This commit is contained in:
1 parent
77ce5ecb49
commit
0ed12e5298
5 files changed
+2
-1015
No files matched your search
@@ -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
|
|
||||||
Generated
-994
File diff suppressed because it is too large.
Load diff
+2
-12
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user