From ea936a203e24439a133fe20064c5482fb2c5df50 Mon Sep 17 00:00:00 2001 From: Patrick Camacho Date: Sun, 5 Jul 2026 21:25:17 +0200 Subject: [PATCH] build before lint and docs in ci MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit converted packages' exports resolve to dist/, and the root example.js imports them by package name — lint and docs need dist present --- .github/workflows/test.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70e011f..3812845 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,6 +22,10 @@ jobs: uses: pnpm/action-setup@v4 - name: Install dependencies run: pnpm install --frozen-lockfile + - name: Build + # dist must exist before lint/docs: converted packages' exports point + # at dist/, and the root example.js imports them by package name + run: pnpm -r build - name: Lint run: pnpm lint - name: Typecheck @@ -36,7 +40,5 @@ jobs: run: git checkout -- packages/last-modified/README.md - name: Docs diff gate run: git diff --exit-code - - name: Build - run: pnpm -r build - name: Tarball gate run: node scripts/tarball-gate.mjs