mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
feat: add husky pre-commit hooks and reusable CI lint workflow
- Add husky with lint-staged for pre-commit checks (eslint --fix, prettier --write) - Add reusable lint.yml workflow (eslint, prettier, tsc) - Gate docker, release, and CI pipelines behind lint job via needs: lint
This commit is contained in:
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -9,7 +9,11 @@ permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
uses: ./.github/workflows/lint.yml
|
||||
|
||||
create-release:
|
||||
needs: lint
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user