This file contains 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: Get Figma Images | |
on: | |
push: | |
# branches: | |
# - main | |
jobs: | |
findNodeReferences: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
- name: Install dependencies | |
run: yarn | |
- name: Get Figma Images | |
run: node scripts/getFigmaImages.js '**/*.mdx' > figmaImageNodeUrls.json | |
- name: Log file content | |
run: cat figmaImageNodeUrls.json |