blockly-samples
blockly-samples copied to clipboard
Check plugins are formatted correctly before releasing
Category plugins
Component
Is your feature request related to a problem? Please describe. Before releasing there are quite a few items that we want to check in plugins to make sure that we have a smooth release.
Describe the solution you'd like A GitHub Action that will:
- Check for broken links
- Check that the name is preceded by '@blockly/'
- Check the
package.jsonfor thepublishConfigfield - Check the
package.jsonfor thehomepagefield - Check the
package.jsonfor therepositoryfield
This will run when a developer pushes code. The other option is to have it be something we can manually run when we release. This is up for debate, but I would prefer it to run when a developer pushes code because
- It is one less thing the developer has to remember to do before publishing samples.
- We catch the problems on creation, so it is the responsibility of the original author to fix them instead of the person who is on call at the time.
Describe alternatives you've considered
Additional context