use lerna task pipelines for linting
This commit is contained in:
parent
c5f452c200
commit
b893d67d5c
3 changed files with 3 additions and 4 deletions
2
.github/workflows/lint.all.yml
vendored
2
.github/workflows/lint.all.yml
vendored
|
@ -36,7 +36,5 @@ jobs:
|
||||||
run: npx lerna bootstrap
|
run: npx lerna bootstrap
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: Prebuild Packages
|
|
||||||
run: npx lerna run prebuild
|
|
||||||
- name: Run eslint
|
- name: Run eslint
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
2
.github/workflows/lint.diff.yml
vendored
2
.github/workflows/lint.diff.yml
vendored
|
@ -42,8 +42,6 @@ jobs:
|
||||||
run: npx lerna bootstrap
|
run: npx lerna bootstrap
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: Prebuild Packages
|
|
||||||
run: npx lerna run prebuild
|
|
||||||
- name: Run eslint
|
- name: Run eslint
|
||||||
run: |
|
run: |
|
||||||
changed_files="$(git diff --name-only origin/${{ github.base_ref }})"
|
changed_files="$(git diff --name-only origin/${{ github.base_ref }})"
|
||||||
|
|
3
nx.json
3
nx.json
|
@ -14,6 +14,9 @@
|
||||||
},
|
},
|
||||||
"testci": {
|
"testci": {
|
||||||
"dependsOn": ["^build"]
|
"dependsOn": ["^build"]
|
||||||
|
},
|
||||||
|
"lint": {
|
||||||
|
"dependsOn": ["prebuild"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue