mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-03 12:41:13 +08:00
Fix gh action workflows
This commit is contained in:
1 parent
6f0f783dab
commit
5bd228d51a
2 files changed
+12
-1
No files matched your search
@@ -41,6 +41,11 @@ jobs:
|
||||
python -m pip install --progress-bar off .
|
||||
python -m pip install --progress-bar off pytest-playwright==0.4.3 # next version is flaky
|
||||
|
||||
- name: Build rustlib
|
||||
working-directory: rustlib
|
||||
run: |
|
||||
wasm-pack build --target web
|
||||
|
||||
- name: Build standalone_app
|
||||
working-directory: standalone_app
|
||||
run: |
|
||||
|
||||
@@ -30,9 +30,15 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '18'
|
||||
- name: Build rustlib
|
||||
working-directory: rustlib
|
||||
run: |
|
||||
wasm-pack build --target web
|
||||
- name: Build standalone_app
|
||||
working-directory: standalone_app
|
||||
run: npx vite build --base=/optuna-dashboard/public/ --outDir ../gh-pages
|
||||
run: |
|
||||
npm install
|
||||
npx vite build --base=/optuna-dashboard/public/ --outDir ../gh-pages
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v2
|
||||
with:
|
||||
|
||||
Reference in new issue
Block a user