Skip to content

Commit

Permalink
Merge pull request #113 from kjirou/add_typecheck_in_ci
Browse files Browse the repository at this point in the history
Run typecheck on CI
  • Loading branch information
kjirou authored May 21, 2023
2 parents 3691074 + 28a1272 commit fdca42e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
- run: npm ci
- run: npm run tsc
- run: npm run prettier:check
- run: npm run lint
- run: npm run test -- --verbose
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"prettier:check": "prettier --check .",
"prettier:write": "prettier --write .",
"test": "jest",
"tsc": "tsc",
"zip": "npm run zip:clean && npm run build && npm run zip:collect-files && npm run zip:execute",
"zip:clean": "rm -rf ./recalldoc.zip && rm -rf ./recalldoc && rm -rf ./dist",
"zip:collect-files": "mkdir -p ./recalldoc/dist && cp ./manifest.json ./recalldoc && cp ./dist/webpacked-prod.js ./recalldoc/dist/webpacked.js && cp -r ./icons ./recalldoc",
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"jsx": "react-jsx",
"lib": ["dom", "es2020"],
"moduleResolution": "node",
"outDir": "./dist",
"noEmit": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext"
},
Expand Down

0 comments on commit fdca42e

Please sign in to comment.