catppuccin / vscode-icons

🦊 Soothing pastel icons for VSCode/VSCodium
https://marketplace.visualstudio.com/items?itemName=Catppuccin.catppuccin-vsc-icons
MIT License
571 stars 26 forks source link

ci: add `previews.yml` to re-generate assets #232

Closed sgoudham closed 2 weeks ago

sgoudham commented 1 month ago

This PR comes from my frustration on the lack of good font rendering on Linux.

I was trying to re-generate the previews to get them to match the existing previews. Unfortunately, Puppeteer seems to struggle with consistency across operating systems as highlighted in https://github.com/puppeteer/puppeteer/issues/661

I tried the solutions commented in the above issue but nothing seemed to work. Ultimately, I gave up and decided to try and see if we can make it a concern of the CI. I was finally successful and this PR adds a new workflow previews.yml that re-generates the individual flavour previews and the catwalk preview.

You can view the output of a successful run in https://github.com/sgoudham/ci-playground/pull/10

Limitations / Concerns: