mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-03-25 00:00:14 +08:00
Migrate from husky + lint-staged to lefthook v2 for git hooks. Migrate prettier config from CJS to ESM. Remove commitizen/cz-conventional- changelog (release-please handles conventional commits).
12 lines
202 B
YAML
12 lines
202 B
YAML
pre-commit:
|
|
parallel: true
|
|
jobs:
|
|
- name: prettier
|
|
run: npx prettier --write --ignore-unknown {staged_files}
|
|
stage_fixed: true
|
|
|
|
pre-push:
|
|
jobs:
|
|
- name: test
|
|
run: npm test
|