Skip to content

Commit 729a3d2

Browse files
committed
fix(ci): run build before lint so type-aware linting can resolve packages
Type-aware oxlint needs compiled type declarations from @blocknote/core (and other packages) to resolve cross-package imports. Moving the build step before lint ensures dist/ exists when the linter runs.
1 parent 44bc3f9 commit 729a3d2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ jobs:
3131
- name: Install Dependencies
3232
run: vp install
3333

34-
- name: Lint packages
35-
run: vp lint
36-
3734
- name: Build packages
3835
run: vp run -r build
3936

37+
- name: Lint packages
38+
run: vp lint
39+
4040
- name: Run unit tests
4141
run: vp run -r test
4242

0 commit comments

Comments
 (0)