-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Revert removing husky and lint-staged (#572)"
This reverts commit 0ed12e5.
- Loading branch information
Showing
5 changed files
with
1,020 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,6 +78,12 @@ jobs: | |
- name: Run ncc | ||
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 | ||
if: github.ref == 'refs/heads/main' | ||
uses: peaceiris/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
npm ci | ||
git remote prune origin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
npx lint-staged |
Oops, something went wrong.