Skip to content

Commit

Permalink
Add typescript lint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Oct 27, 2023
1 parent 2f34434 commit 58b4edc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsconfig.json → .github/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"include": [
"app/typescript/**/*"
"./../app/typescript/**/*"
],
"compilerOptions": {
/* Visit https://aka.ms/tsconfig.json to read more about this file */
Expand All @@ -11,7 +11,7 @@
"declaration": false,
"moduleResolution": "node",

"rootDir": "./app/typescript",
"rootDir": "./../app/typescript",

"noImplicitAny": true,
"strictNullChecks": true,
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,16 @@ jobs:
- run: >-
npm install [email protected] [email protected] -g &&
stylelint "**/*.css" --config .github/.stylelintrc.json
tslint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 20

- run: >-
npm install [email protected] -g &&
tsc --noEmit -p .github/tsconfig.json

0 comments on commit 58b4edc

Please sign in to comment.