Skip to content

chore: use forked @todesktop/nan package as patch-package doesn't wor… #122

chore: use forked @todesktop/nan package as patch-package doesn't wor…

chore: use forked @todesktop/nan package as patch-package doesn't wor… #122

Workflow file for this run

name: build-windows
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
# - run: choco upgrade nodejs.install
# - run: choco install nodejs --version 20.0.0
- run: choco upgrade chocolatey --version 1.4.0 --allow-downgrade
- name: install visualstudio tools
run: choco install python visualstudio2022-workload-vctools -y
continue-on-error: true
- run: npm install
- run: npm run prebuild
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: upload binaries
uses: actions/github-script@v6
with:
script: |
const zip = require('cross-zip')
const script = require('./scripts/upload-binaries.js');
await script({
github,
context,
core,
zip
});