mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
ci: run build before workspace package typechecks
- Move build step before workspace package typechecking so dist type declarations are generated and available for dependent packages
This commit is contained in:
@@ -35,6 +35,9 @@ jobs:
|
||||
- name: Typecheck
|
||||
run: npm run typecheck
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Typecheck workspace packages
|
||||
run: npm run typecheck --workspaces --if-present
|
||||
|
||||
@@ -43,9 +46,6 @@ jobs:
|
||||
# violations instead of reporting them.
|
||||
run: npx eslint .
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
# ubuntu-latest ships Docker, so the testcontainers suites run here even
|
||||
# though they cannot locally. This is the only place the real coverage
|
||||
# number exists.
|
||||
|
||||
Reference in New Issue
Block a user