diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11258ea9..b2720fc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/app/web/src/index.html b/app/web/src/index.html index d8ea84b0..0cb0d188 100644 --- a/app/web/src/index.html +++ b/app/web/src/index.html @@ -321,7 +321,7 @@

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. Check your plan limits'); 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', ' Check your plan limits'); return; } showError('Figma API error (' + res.status + ')', await res.text().catch(function() { return ''; })); return; }