pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

Add percy check when releasing a new tailwind plugin #84

Closed pixelastic closed 3 years ago

pixelastic commented 4 years ago

If we update the Tailwind plugins, or update Tailwind itself, we might break the way our custom plugin renders. We have dedicated pages to tests to the output in /percy/ in the docs website. Percy should be used to check those files whenever we do a new relevant release.

To also do: make the tests simpler (no mobile testing, no Firefox testing)

pixelastic commented 4 years ago

Any change on norska-css will trigger a percy check on release. The check will wait for human validation

TODO:

pixelastic commented 4 years ago
pixelastic commented 4 years ago
pixelastic commented 4 years ago

My custom tailwind config seems to slow down the generation a lot:

Default settings
   ✅ Finished in 2.74 s
   ✅ Finished in 2.5 s
   ✅ Finished in 2.57 s
   ✅ Finished in 2.48 s
   ✅ Finished in 2.4 s
   ✅ Finished in 2.37 s
   ✅ Finished in 2.33 s
   ✅ Finished in 2.34 s
   ✅ Finished in 2.36 s
   ✅ Finished in 2.36 s
   ✅ Finished in 2.49 s
Custom settings
   ✅ Finished in 4.67 s
   ✅ Finished in 4.84 s
   ✅ Finished in 4.7 s
   ✅ Finished in 4.69 s
   ✅ Finished in 4.76 s
   ✅ Finished in 4.7 s
   ✅ Finished in 4.69 s
   ✅ Finished in 4.64 s
   ✅ Finished in 4.66 s
   ✅ Finished in 5.17 s
   ✅ Finished in 4.67 s
pixelastic commented 3 years ago

Closing this as the whole Percy thing might have been a bad idea. It does not seem to perfectly fit into a one-man release process without review. I'll close and re-open when I have a better idea of what to do.