Skip to content

Build - Win

Build - Win #118

Workflow file for this run

name: Build - Win
on:
workflow_dispatch:
# push:
# tags:
# - v*
jobs:
build-windows-x64:
runs-on: windows-2022
strategy:
matrix:
node-version: [18]
steps:
- uses: actions/checkout@v4
- name: Install OpenSSL
run: choco install openssl -y
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: npm install --build-from-source
env:
CI: true
# - name: Test
# run: npm run test
# env:
# CI: true
- name: Upload
run: node_modules/.bin/prebuild -r napi --upload -u ${{ secrets.GITHUB_TOKEN }}
env:
CI: true