Skip to content

installer-build-95819e2609f4c2b44089f46d0518164d8edb3aa6 #10

installer-build-95819e2609f4c2b44089f46d0518164d8edb3aa6

installer-build-95819e2609f4c2b44089f46d0518164d8edb3aa6 #10

name: build installer
run-name: installer-build-${{ github.sha }}
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
ls C:\Users\runneradmin\miniconda3\envs\cp311_libuv
echo "LIBUV_PATH=$(conda env list | findstr libuv)" >> %GITHUB_ENV%
- 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: test
run: |
echo "${{ env.LIBUV_PATH }}"
dir "${{ env.LIBUV_PATH }}" -recurse -depth 2
dir "${{ env.LIBUV_PATH }}"\Lib -recurse -depth 2