Merge pull request #884 from porink0424/feat/add-type-check-to-standaloneapp

Add type-checks on `standalone_app`
This commit is contained in:
c-bata
2024-06-04 15:06:12 +09:00
committed by GitHub
2 changed files with 16 additions and 3 deletions
+14 -2
View File
@@ -29,7 +29,7 @@ jobs:
- run: npm run lint
type-check:
name: Type checking on optuna-dashboard
name: Type checking on optuna-dashboard & standalone_app
runs-on: ubuntu-latest
steps:
@@ -44,12 +44,24 @@ jobs:
- name: Setup tslib
run: make tslib
- name: Type Check
- name: Type Check optuna_dashboard
working-directory: optuna_dashboard
run: |
npm install
npm run type-check
- name: Build rustlib for standalone_app
working-directory: rustlib
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
wasm-pack build --target web
- name: Type Check standalone_app
working-directory: standalone_app
run: |
npm install
npm run type-check
check-package-lock-json:
name: Check package-lock.json
runs-on: ubuntu-latest
+2 -1
View File
@@ -5,7 +5,8 @@
"description": "",
"scripts": {
"watch": "vite",
"build:vscode": "webpack"
"build:vscode": "webpack",
"type-check": "tsc --noEmit"
},
"devDependencies": {
"@optuna/types": "../tslib/types",