mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 12:49:26 +01:00
.pre-commit-config.yaml: add local hook to run pnpm install -D
This commit is contained in:
parent
0a78c0a61d
commit
d40f7858a0
@ -5,7 +5,7 @@
|
||||
ci:
|
||||
# Attempts to use networking and fails at name resolution, local hook
|
||||
# skip: [bundler-audit, pylint, latexmk, exiftool]
|
||||
skip: [prettier]
|
||||
skip: [pnpm-install-dev, prettier]
|
||||
# Forĝejo/Gitea mirrors will autoclose pull requests. This should decrease
|
||||
# the frequency of unnecessary PRs.
|
||||
# https://github.com/pre-commit-ci/issues/issues/83
|
||||
@ -132,6 +132,13 @@ repos:
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: pnpm-install-dev
|
||||
name: Install pnpm dev dependencies
|
||||
entry: pnpm install -D
|
||||
language: system
|
||||
always_run: true
|
||||
verbose: true
|
||||
pass_filenames: false
|
||||
- id: prettier
|
||||
name: prettier
|
||||
entry: pnpm exec prettier --cache --ignore-unknown --write
|
||||
|
Loading…
Reference in New Issue
Block a user