bump package version #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Typechecking | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.ts' | |
- '**.tsx' | |
- '**/tsconfig.json' | |
- 'package-lock.json' | |
- '.github/workflows/typechecking.yml' | |
pull_request: | |
paths: | |
- '**.ts' | |
- '**.tsx' | |
- '**/tsconfig.json' | |
- 'package-lock.json' | |
- '.github/workflows/typechecking.yml' | |
defaults: | |
run: | |
shell: 'bash' | |
jobs: | |
typescript: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 # Need for npm >=7.7 | |
cache: 'npm' | |
# TODO: Install not all dependencies, but only those required for this workflow | |
- name: Install dependencies | |
run: npm ci | |
# Type checking is divided into three separate commands for more convenient logs | |
- run: npm run typecheck-main | |
- run: npm run typecheck-preload | |
- run: npm run typecheck-renderer |