blockly-samples icon indicating copy to clipboard operation
blockly-samples copied to clipboard

Check plugins are formatted correctly before releasing

Open alschmiedt opened this issue 4 years ago • 0 comments

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.json for the publishConfig field
  • Check the package.json for the homepage field
  • Check the package.json for the repository field

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

alschmiedt avatar Jul 08 '21 00:07 alschmiedt