Skip to content

Commit fe3666c

Browse files
authored
Merge pull request #128 from verhovsky/github-actions
Replace AppVeyor with GitHub Actions
2 parents 7f4f49b + 623d93c commit fe3666c

File tree

2 files changed

+37
-25
lines changed

2 files changed

+37
-25
lines changed

.appveyor.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
env:
12+
NODE_BUILD_CMD: npx --no-install prebuild -t 10.12.0 -t 12.13.0 --strip
13+
ELECTRON_BUILD_CMD: npx --no-install prebuild -r electron -t 3.0.0 -t 4.0.0 -t 4.0.4 -t 5.0.0 --strip
14+
15+
jobs:
16+
17+
test:
18+
strategy:
19+
matrix:
20+
os:
21+
- windows-latest
22+
node:
23+
- 10
24+
fail-fast: false
25+
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
26+
runs-on: ${{ matrix.os }}
27+
steps:
28+
- uses: actions/checkout@v3
29+
with:
30+
submodules: true
31+
fetch-depth: 0
32+
- uses: actions/setup-node@v3
33+
with:
34+
node-version: ${{ matrix.node }}
35+
36+
- run: npm install
37+
- run: npm test

0 commit comments

Comments
 (0)