Skip to content

remove @primer/brand-e2e changes from changesets (#795) #61

remove @primer/brand-e2e changes from changesets (#795)

remove @primer/brand-e2e changes from changesets (#795) #61

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 }}