We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 214ebbd commit 2dd81faCopy full SHA for 2dd81fa
1 file changed
.github/workflows/node-addon-build.yml
@@ -1 +1,42 @@
1
2
+name: Build Node.js Addon
3
+
4
+on:
5
+ push:
6
+ branches: [ main, 0.0.10 ]
7
+ pull_request:
8
+ branches: [ main ]
9
10
+jobs:
11
+ build-windows:
12
+ runs-on: windows-latest
13
+ steps:
14
+ - uses: actions/checkout@v3
15
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v3
18
+ with:
19
+ node-version: '18'
20
21
+ - name: Install dependencies
22
+ run: npm install
23
24
+ - name: Build native addon
25
+ run: npm run build
26
27
+ - name: Test
28
+ run: node test.js
29
30
+ build-macos:
31
+ runs-on: macos-latest
32
+ if: false
33
34
+ - name: Skip macOS build
35
+ run: echo "Skipping macOS build as code is Windows-specific"
36
37
+ build-linux:
38
+ runs-on: ubuntu-latest
39
40
41
+ - name: Skip Linux build
42
+ run: echo "Skipping Linux build as code is Windows-specific"
0 commit comments