Commit Graph

11 Commits

Author SHA1 Message Date
Paweł Kuna 2702274bfa
Update package dependencies and configurations (#1447)
* Update package dependencies and configurations

* Update GitHub Actions workflow to use Node.js 22 and adjust build command to utilize pnpm for improved consistency and performance.

* Remove specific pnpm version from GitHub Actions workflow to allow for more flexible dependency management.

* Remove specific pnpm version from GitHub Actions workflow for improved flexibility in dependency management.

* Add rsvg-convert availability check in convertIconsToImages function to prevent errors when the command is not found

* Update GitHub Actions workflow to use Node.js 22 for improved compatibility and performance.

* Remove push trigger from GitHub Actions workflow to streamline build process and focus on pull requests.

* Add system dependencies for canvas in GitHub Actions workflow and update package.json to include canvas dependency

* Update GitHub Actions workflow to install additional system dependencies for canvas and rsvg-convert

* Update pnpm-lock.yaml to add canvas dependency and remove optional flags from several packages

* Update package.json to upgrade pnpm from version 10.12.1 to 10.26.1 for improved performance and compatibility.

* Refactor Eleventy configuration to use Sass directly and update package dependencies for improved compatibility and performance. Added support for SCSS file compilation and updated various package versions in package.json and pnpm-lock.yaml.

* Reorganize GitHub Actions workflow to reposition the in-progress comment step for better clarity and execution flow during icon validation.

* Update GitHub Actions workflows to install pnpm version 10.26.2 for consistency across build and validation processes.

* Install additional system dependencies for canvas and rsvg-convert in GitHub Actions workflow to ensure proper build environment.

* Ensure canvas is loaded before jsdom by using require in utilities.mjs

* Update canvas and @napi-rs/canvas dependencies to version 3.2.0 and 0.1.88 respectively in package.json and pnpm-lock.yaml for improved compatibility. Add "onlyBuiltDependencies" field in package.json to specify required dependencies.
2025-12-30 18:33:11 +01:00
codecalm f999bcc00d Update GitHub Actions workflow to use Node.js 22 and pnpm version 10.26.2, while repositioning the in-progress comment step for better visibility during validation. 2025-12-30 18:04:58 +01:00
codecalm c6a429a3be Update package.json to remove specific pnpm version and adjust GitHub Actions workflow to use pnpm version 10.26.1 for consistency across environments. 2025-12-26 16:36:18 +01:00
codecalm 7a71dc0019 Update GitHub Actions workflows to use the latest versions of actions, enhancing performance and compatibility. 2025-12-24 02:05:52 +01:00
codecalm 3c47dab3ed Enhance icon generation script and PR workflow to utilize PR-specific repository and SHA, improving accuracy for forked repositories. 2025-12-23 02:33:39 +01:00
codecalm 69e0b696fb Update icon validation scripts to use dynamic base branch reference for improved accuracy in PR icon checks 2025-12-23 02:30:59 +01:00
codecalm bccc80e934 Change PR validation workflow trigger from 'pull_request' to 'pull_request_target' for improved security and context access. 2025-12-23 02:18:58 +01:00
codecalm c23e6a8eea Merge branch 'main' of https://github.com/tabler/tabler-icons 2025-12-23 02:13:02 +01:00
codecalm 992a34a233 Update GitHub Actions workflow to include permissions for pull requests and contents 2025-12-23 02:13:01 +01:00
Paweł Kuna 6d5f43d993
Add icon comment generation with categories and tags to PR validation workflow (#1444)
* Add 'generate-icons-comment' script to package.json and update PR validation workflow to include icon generation and commenting steps.

* Refactor icon comment generation to include inline SVGs in markdown tables and update workflow to handle output correctly.

* Refactor icon comment generation to use base64 data URIs for SVGs in markdown tables, improving compatibility and visual representation.

* Refactor icon comment generation to use GitHub raw file URLs instead of base64 data URIs, enhancing compatibility with GitHub comments.

* Update icon size in markdown table for improved visibility in GitHub comments.

* Enhance icon comment generation by adding category and tags to markdown table, improving organization and metadata visibility.

* Implement category validation for new icons and consolidate helper imports in icon generation scripts.

* Add workflow step to remove comment with added icons if no icons are present

* Remove unused SVG icon file 'a-b-2 copy 2.svg' to clean up the icon directory.

* Update PR validation workflow to change icon comment mode from 'recreate' to 'upsert', allowing for more efficient comment updates.

* Update icon name in markdown table to include file extension for clarity in generated comments.

* Remove unused SVG icon file 'a-b-2 copy.svg' to streamline the icon directory.
2025-12-23 01:59:33 +01:00
Paweł Kuna e7f40a1500
Add 'validate-pr' script to package.json (#1443) 2025-12-23 00:59:53 +01:00
Renamed from .github/workflows/validate-icons.yml (Browse further)