Skip to content

Commit 391c841

Browse files
committed
ci: unfortunately build before typecheck/lint
1 parent 11a8bfd commit 391c841

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/lint.yml

+4
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,9 @@ jobs:
2525
- name: Install dependencies
2626
run: npm ci --no-audit
2727

28+
# Unfortunately unit tests import built source files, so we need to build until we change this.
29+
- name: Build project
30+
run: npm run build
31+
2832
- name: Lint
2933
run: npm run lint

.github/workflows/typecheck.yml

+4
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ jobs:
2424
- name: Install dependencies
2525
run: npm ci --no-audit
2626

27+
# Unfortunately unit tests import built source files, so we need to build until we change this.
28+
- name: Build project
29+
run: npm run build
30+
2731
- name: Typecheck
2832
run: npm run typecheck

0 commit comments

Comments
 (0)