feat: add preset skip flag
This commit is contained in:
@@ -3,11 +3,11 @@ conditions = ["file(package.json)"]
|
||||
|
||||
[presets.nodejs.tasks.setup.npm]
|
||||
conditions = ["file(package-lock.json)"]
|
||||
commands = ["npm install-clean --legacy-peer-deps"]
|
||||
commands = ["npm install-clean"]
|
||||
|
||||
[presets.nodejs.tasks.setup.npm-legacy]
|
||||
conditions = ["file(package-lock.json) | not"]
|
||||
commands = ["npm install --legacy-peer-deps"]
|
||||
commands = ["npm install"]
|
||||
|
||||
[presets.nodejs.tasks.test.jest]
|
||||
conditions = ["file(node_modules/jest)"]
|
||||
|
||||
@@ -28,7 +28,7 @@ commands = ["poetry publish -r {python_repository}"]
|
||||
|
||||
[presets.python.tasks.test.pytest]
|
||||
conditions = ["file(.venv/bin/pytest)"]
|
||||
commands = [".venv/bin/pytest -p no:warnings"]
|
||||
commands = [".venv/bin/python -m pytest"]
|
||||
|
||||
[presets.python.tasks.lint.isort]
|
||||
conditions = ["file(.venv/bin/isort)"]
|
||||
|
||||
Reference in New Issue
Block a user