Skip to content

fix: icon script errors#1149

Open
Alastair Fraser (alastair-simon) wants to merge 6 commits into
mainfrom
fix/icon-kit-script
Open

fix: icon script errors#1149
Alastair Fraser (alastair-simon) wants to merge 6 commits into
mainfrom
fix/icon-kit-script

Conversation

@alastair-simon

@alastair-simon Alastair Fraser (alastair-simon) commented May 12, 2026

Copy link
Copy Markdown
Contributor

What?

This pull request updates the icon processing workflow and improves error handling. The main changes include updating GitHub Actions dependencies, patching a dependency for CI compatibility, and improving error tracking in the icon script.

Why?

The pipeline consistently failed, so no new icons could be added with the action.

How?

CI/CD workflow updates:

  • .github/workflows/update-icons.yml: Updated several GitHub Actions to their latest major versions for improved stability and security, including actions/checkout, actions/setup-node, and peter-evans/create-pull-request.
  • .github/workflows/update-icons.yml: Added a step to patch svgo-autocrop in CI to launch Puppeteer with --no-sandbox flags, ensuring compatibility in CI environments.

Error handling improvements:

  • packages/icon-kit/src/index.ts: Enhanced error handling in the icon optimization process by collecting failed icons with their errors, logging failures, and throwing an error if any icons fail to process. This provides clearer feedback during CI runs.

This is a temporary fix, as the package svgo-autocrop needs proper patching.

@vercel

vercel Bot commented May 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
meteor-component-library Ignored Ignored Preview Jun 8, 2026 1:52pm

Request Review

@alastair-simon Alastair Fraser (alastair-simon) changed the title fix: throw error when icons fail to sync fix: icon script errors May 12, 2026
@alastair-simon Alastair Fraser (alastair-simon) marked this pull request as ready for review May 13, 2026 07:24
@pkg-pr-new

pkg-pr-new Bot commented Jun 8, 2026

Copy link
Copy Markdown

Open in StackBlitz

@shopware-ag/meteor-admin-sdk

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-admin-sdk@1149

@shopware-ag/meteor-component-library

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-component-library@1149

@shopware-ag/create-meteor-extension

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/create-meteor-extension@1149

@shopware-ag/meteor-icon-kit

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-icon-kit@1149

@shopware-ag/meteor-prettier-config

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-prettier-config@1149

@shopware-ag/stylelint-plugin-meteor

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/stylelint-plugin-meteor@1149

@shopware-ag/meteor-tokens

npm i https://pkg.pr.new/shopware/meteor/@shopware-ag/meteor-tokens@1149

commit: 8127c36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants