Skip to content

Update main.yml

Update main.yml #4

Workflow file for this run

name: Build with node-gyp
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
- name: Install msvc-dev-cmd
uses: ilammy/msvc-dev-cmd@v1
- name: Install node-gpy
run: npm -g install node-gyp
shell: cmd
- name: build
run: node-gyp rebuild
shell: cmd