Skip to content

build installer

build installer #6

name: build installer
on:
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: setup miniforge
uses: conda-incubator/setup-miniconda@v3
with:
miniforge-version: latest
python-version: "3.11"
activate-environment: 'cp311_libuv'
- name: Install libuv dependency
run: |
conda install -y libuv
conda env list
conda env list | findstr libuv
- name: Cache npm modules
uses: actions/cache@v3
id: npm-cache
with:
path: ~/.npm
key: ${{ runner.os }}-npm
- name: Install Node.js and npm
uses: actions/setup-node@v3
with:
node-version: '20'
- name: setup npm project
run: npm install
working-directory: "WebUI"
- name: execute npm build
run: npm run fetch-build-resources
working-directory: "WebUI"