Fix gh action workflows

This commit is contained in:
c-bata committed 2024-03-08 10:03:39 +09:00
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: |
+7 -1
View File
@@ -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: