Add type-check test into github workflow

This commit is contained in:
porink0424
2024-04-17 16:17:08 +09:00
parent c59daa1bc5
commit 0dcd553190
3 changed files with 23 additions and 3 deletions
+22 -1
View File
@@ -24,10 +24,31 @@ jobs:
with:
node-version: '20'
- run: make tslib
- run: npm install
- run: npm run lint
type-check:
name: Type checking on optuna-dashboard
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Setup tslib
run: make tslib
- name: Type Check
working-directory: optuna_dashboard
run: |
npm install
npm run type-check
build:
name: JS build check
runs-on: ubuntu-latest