From 6bbaf4d7c6105195527458ffb25755b862edf9ad Mon Sep 17 00:00:00 2001 From: Jordan Young Date: Tue, 16 Jun 2026 15:38:57 -0400 Subject: [PATCH] fix(element): add build step before lint in deploy workflow The eslint-import-resolver-typescript resolver uses package.json exports to find type declarations at ./dist/index.d.ts. Without a build step, those files don't exist and import/no-unresolved fires for workspace deps. This matches the pr-build.yml workflow which already builds before linting. --- .github/workflows/deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ea57059f66..8d57ce829e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -39,6 +39,9 @@ jobs: restore-keys: | nx-${{ runner.os }}-${{ hashFiles('yarn.lock') }}- + - name: Build Packages + run: yarn build + - name: Lint Affected Code run: yarn lint:affected