Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ jobs:
- run: pnpm lint
- run: pnpm build
- run: pnpm test:run

build-web:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 24
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build:web
2 changes: 1 addition & 1 deletion app/web/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ <h2 class="text-sm font-semibold flex items-center gap-2">
setLoading(false);
if (res.status === 403) { showError('Access denied', 'Your token does not have access to this file.'); return; }
if (res.status === 404) { showError('File not found', 'Check the Figma URL.'); return; }
if (res.status === 429) { showError('Rate limited', 'Figma API rate limit reached. Rate limits depend on your plan and where the file lives. <a href="https://developers.figma.com/docs/rest-api/rate-limits/" target="_blank">Check your plan limits</a>'); return; }
if (res.status === 429) { showError('Rate limited', 'Figma API rate limit reached. Rate limits depend on your plan and where the file lives.'); document.getElementById('error-detail').insertAdjacentHTML('beforeend', ' <a href="https://developers.figma.com/docs/rest-api/rate-limits/" target="_blank" class="underline text-blue-400 hover:text-blue-300">Check your plan limits</a>'); return; }
showError('Figma API error (' + res.status + ')', await res.text().catch(function() { return ''; }));
return;
}
Expand Down
Loading