-
-
Notifications
You must be signed in to change notification settings - Fork 12
32 lines (26 loc) · 603 Bytes
/
Copy pathmain.yml
File metadata and controls
32 lines (26 loc) · 603 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
- name: Test
run: node test.mjs
shell: cmd