Refactored into a script using zod based on feedback
Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
@@ -28,7 +28,7 @@ addedDate: # The date plugin added to directory E.g. '2022-10-01' quotes are req
|
||||
You can validate your YAML file is correct by running the following from the root of the repo:
|
||||
|
||||
1. First run `yarn install`
|
||||
2. Then run `yarn ajv validate -s microsite/data/plugin-schema.json -d "microsite/data/plugins/<plugin-name>.yaml" -c ajv-formats` where `<plugin-name>` is the name of your plugin
|
||||
2. Then run `node ./scripts/verify-plugin-directory.js`
|
||||
|
||||
If there are any errors they will be listed and you will need to correct them. We run this same check as part of the CI.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user