mirror of
https://github.com/n8n-io/n8n
synced 2026-04-21 15:47:20 +00:00
Signed-off-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Albert Alises <albert.alises@gmail.com> Co-authored-by: Jaakko Husso <jaakko@n8n.io> Co-authored-by: Dimitri Lavrenük <20122620+dlavrenuek@users.noreply.github.com> Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Co-authored-by: Tuukka Kantola <Tuukkaa@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Co-authored-by: Raúl Gómez Morales <raul00gm@gmail.com> Co-authored-by: Elias Meire <elias@meire.dev> Co-authored-by: Dimitri Lavrenük <dimitri.lavrenuek@n8n.io> Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com> Co-authored-by: Mutasem Aldmour <mutasem@n8n.io>
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
YAML
pre-commit:
|
|
commands:
|
|
biome_check:
|
|
glob: 'packages/**/*.{js,ts,json}'
|
|
run: pnpm biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --colors=off {staged_files}
|
|
stage_fixed: true
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
prettier_check:
|
|
glob: 'packages/**/*.{vue,yml,md,css,scss}'
|
|
run: pnpm prettier --write --ignore-unknown --no-error-on-unmatched-pattern {staged_files}
|
|
stage_fixed: true
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
styles_check:
|
|
glob: 'packages/**/*.{scss,sass,vue}'
|
|
run: pnpm lint:styles:fix
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
actionlint_check:
|
|
glob: '.github/workflows/*.{yml,yaml}'
|
|
run: actionlint {staged_files}
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
workspace_deps_check:
|
|
glob: '**/package.json'
|
|
run: node scripts/check-workspace-deps.mjs {staged_files}
|
|
skip:
|
|
- merge
|
|
- rebase
|
|
playwright_janitor:
|
|
glob: 'packages/testing/playwright/**/*.ts'
|
|
run: |
|
|
files=$(echo {staged_files} | tr ' ' ',')
|
|
pnpm --filter=n8n-playwright janitor --files="$files"
|
|
skip: true # Disabled for now - enable when baseline is committed
|