feat(design-system): setup Figma Code Connect CLI [AR-71339] #5
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Figma Code Connect Validate | |
| on: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| validate: | |
| name: Validate | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout source code | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Install Dependencies | |
| uses: ./.github/actions/install | |
| - name: Cache turbo | |
| uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5 | |
| with: | |
| path: .turbo | |
| key: ${{ runner.os }}-turbo-figma-validate-${{ github.sha }} | |
| restore-keys: | | |
| ${{ runner.os }}-turbo-figma-validate- | |
| - name: Validate Code Connect files | |
| run: pnpm figma:validate |