Skip to content

Commit

Permalink
ci: add typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
markokajzer committed Sep 9, 2024
1 parent 3e9c69c commit c286d0c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand All @@ -28,7 +27,6 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand All @@ -37,12 +35,24 @@ jobs:
- run: npm install
- run: npm run lint:ci

test:
typecheck:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: npm

- run: npm install
- run: npm run typecheck

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"start": "npm run build && npm run serve",
"test": "jest",
"translations:download": "ts-node lib/downloadTranslations.ts",
"typecheck": "tsc"
"typecheck": "tsc --noEmit"
},
"_moduleAliases": {
"~": "./dist/src"
Expand Down

0 comments on commit c286d0c

Please sign in to comment.