Skip to content

Commit

Permalink
ci: add typecheck step to GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Feb 26, 2024
1 parent 8528282 commit 4cd2a72
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
name: Lint
name: Lint & Typecheck
on:
push:
branches:
- main
pull_request:

jobs:
typecheck:
name: Typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
env:
SKIP_YARN_COREPACK_CHECK: '1'
- name: Enable corepack
run: corepack enable
- name: Install dependencies
run: yarn
- name: Typecheck
run: yarn typecheck

lint:
name: Lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 4cd2a72

Please sign in to comment.