From f3181e795d14929c4afeb1a135f88ed47dfc3028 Mon Sep 17 00:00:00 2001 From: Arthur Geron <3487334+arthurgeron@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:52:19 -0300 Subject: [PATCH] feat: build types before release --- .github/workflows/pr-release.yaml | 4 +++- packages/playwright-utils/package.json | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-release.yaml b/.github/workflows/pr-release.yaml index 0c5f7f4665..a92f6bdf84 100644 --- a/.github/workflows/pr-release.yaml +++ b/.github/workflows/pr-release.yaml @@ -26,7 +26,9 @@ jobs: npm-token: ${{ secrets.NPM_TOKEN }} - name: Build packages - run: pnpm build:libs + run: | + pnpm ts-check + pnpm build:all - name: Release to @pr-${{ github.event.pull_request.number }} tag on npm id: release diff --git a/packages/playwright-utils/package.json b/packages/playwright-utils/package.json index 6896065419..7991e2e7e2 100644 --- a/packages/playwright-utils/package.json +++ b/packages/playwright-utils/package.json @@ -19,8 +19,9 @@ }, "files": ["dist"], "scripts": { + "ts:check": "pnpm tsc --noEmit", "build": "pnpm ts:check && tsup", - "ts:check": "pnpm tsc --noEmit" + "build:all": "pnpm build" }, "dependencies": { "adm-zip": "^0.5.10"