chore(spec): add prettier yaml formatting check to lint workflow#1358
Conversation
Adds the spec/ directory to the pnpm workspace with a package.json that runs prettier on openapi.yml and envd/envd.yaml, so the existing Lint workflow picks up YAML formatting via the recursive lint/format scripts. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
PR SummaryLow Risk Overview
Reviewed by Cursor Bugbot for commit ff175d7. Bugbot is set up for automated code reviews on this repo. Configure here. |
|
Package ArtifactsBuilt from 63ab5c8. Download artifacts from this workflow run. JS SDK ( npm install ./e2b-2.26.1-mishushakov-lint-yaml-formatting.0.tgzCLI ( npm install ./e2b-cli-2.10.3-mishushakov-lint-yaml-formatting.0.tgzPython SDK ( pip install ./e2b-2.24.0+mishushakov.lint.yaml.formatting-py3-none-any.whl |
matthewlouisbrockman
left a comment
There was a problem hiding this comment.
moar linter!
Summary
spec/to the pnpm workspace with apackage.jsonthat runsprettier --check/--writeonopenapi.ymlandenvd/envd.yaml.pnpm run lint/pnpm run formatnow enforces YAML formatting automatically — no workflow changes needed.spec/openapi.yml(two$refquote-style changes) so the new check passes.Test plan
pnpm --filter @e2b/spec run lintsucceeds locally🤖 Generated with Claude Code