Skip to content

Commit

Permalink
Install missing dependencies and split typecheck into separate steps
Browse files Browse the repository at this point in the history
  • Loading branch information
tomekzaw committed Apr 9, 2024
1 parent c41fb1e commit 4a021a3
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,25 @@ jobs:
- name: Install dependencies
run: yarn install --immutable

- name: Typecheck
run: |
yarn tsc --project tsconfig.json --noEmit
yarn tsc --project parser/tsconfig.json --noEmit
yarn tsc --project example/tsconfig.json --noEmit
yarn tsc --project WebExample/tsconfig.json --noEmit
- name: Install parser dependencies
working-directory: parser
run: npm ci

- name: Install WebExample dependencies
working-directory: WebExample
run: npm ci

- name: Typecheck library
run: yarn tsc --project tsconfig.json --noEmit

- name: Typecheck parser
run: yarn tsc --project parser/tsconfig.json --noEmit

- name: Typecheck example app
run: yarn tsc --project example/tsconfig.json --noEmit

- name: Typecheck WebExample app
run: yarn tsc --project WebExample/tsconfig.json --noEmit

- name: Lint
run: yarn lint
Expand Down

0 comments on commit 4a021a3

Please sign in to comment.