mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-09-09 11:28:14 +08:00
Add type-check test into github workflow
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user