Skip to content

installer-build-YYYY-MM-DD HH #9

installer-build-YYYY-MM-DD HH

installer-build-YYYY-MM-DD HH #9

name: build installer
run-name: installer-build-${{ format('YYYY-MM-DD HH', github.event.timezone_offset) }}
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 %LIBUV_PATH%
dir %LIBUV_PATH%/Lib -recurse -depth 2