Skip to content

Add size prop to Icon component (#796) #63

Add size prop to Icon component (#796)

Add size prop to Icon component (#796) #63

name: Figma Connect Publish on Change
on:
push:
branches:
- main
jobs:
code-connect:
name: Code Connect
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node
uses: actions/setup-node@v2
with:
node-version: 20
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci --legacy-peer-deps
- run: cd packages/react && npx figma connect publish
env:
FIGMA_ACCESS_TOKEN: ${{ secrets.FIGMA_ACCESS_TOKEN }}