gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
9 stars 6 forks source link

Javascript validation step #264

Open MortenHofft opened 9 months ago

MortenHofft commented 9 months ago

We regularly get deploys with invalid javascript. Which will make the site fail. Could we, as part of the build, have a javascript validation step. Essentially taking any *.js files in the resulting _site folder and test them for validity?

@MattBlissett you manage the build are there a good way to do it there.

Could also be there was some Jekyll plugin that could do this, but I haven't been able to find one