build installer #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build installer | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- 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: Install Miniforge | |
run: | | |
choco install miniforge3 | |
C:\tools\miniforge3\Scripts\activate | |
- name: Install libuv dependency with Miniforge | |
run: | | |
conda create -n cp311_libuv python=3.11 libuv -y | |
# copy the path to this conda env | |
conda env list | findstr cp311_libuv | |
- name: pwd | |
run: | | |
pwd | |
- name: pwd | |
working-directory: "WebUI" | |
run: | | |
pwd | |
- name: pwd | |
run: | | |
pwd | |
- name: Install dependencies | |
run: npm install | |
working-directory: "WebUI" |