Skip to content

Releases: let-sunny/canicode-action

CanICode Action v0.1.0 — Figma Design Quality Gate

Choose a tag to compare

@let-sunny let-sunny released this 22 Mar 07:52
a4e89b0

Initial release of CanICode Action.

Analyze Figma designs in CI and enforce quality scores before merging — like a linter, but for design.

Features

  • Run canicode analysis on any Figma URL with node-id
  • Set minimum score threshold to pass/fail the check
  • Auto-post analysis summary as a PR comment (updated on re-runs)
  • Choose analysis preset: relaxed, dev-friendly, ai-ready, strict
  • Pin canicode CLI version for reproducible builds

Usage

- uses: let-sunny/canicode-action@v0.1.0
  with:
    figma_url: 'https://www.figma.com/design/ABC/File?node-id=1-234'
    figma_token: ${{ secrets.FIGMA_TOKEN }}
    min_score: 70

Outputs

- score — Overall percentage (0-100)
- grade — Letter grade (A/B/C/D/F)
- passed — Whether the threshold was met
- report_json — Full analysis result