Feat: Lerna integration with husky for precommit checks (#57)

* feat: Lerna integration with husky

* Lint-staged integration

* tweak(ci/cd): Removed prettier integration

* Added lint-staged to precommit hook call

* tweak: removed git add from lint-staged

* tweak(gitignore): Removed package.json from ignore
This commit is contained in:
Taso authored and GitHub committed 2021-01-18 15:17:41 -05:00
1 parent 820354aa2e
commit d0de0e4bac
9 files changed
+5783 -30

No files matched your search

-16
View File
@@ -34,14 +34,6 @@ jobs:
node-version: '14.x'
- name: Install dependencies NUI
run: yarn --frozen-lockfile
- name: Prettify Code
uses: creyD/[email protected]
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,jsx,ts,tsx,json,css,scss,md}
only_changed: True
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Enzyme Tests
run: yarn test
env:
@@ -68,14 +60,6 @@ jobs:
node-version: '14.x'
- name: Install dependencies NUI
run: yarn --frozen-lockfile
- name: Prettify code
uses: creyD/[email protected]
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{js,jsx,ts,tsx,json,css,scss,md}
only_changed: True
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Jest Tests
run: yarn test
env: