mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
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:
9 files changed
+5783
-30
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user