Skip to content

Commit

Permalink
Merge pull request #128 from verhovsky/github-actions
Browse files Browse the repository at this point in the history
Replace AppVeyor with GitHub Actions
  • Loading branch information
verhovsky authored Jun 14, 2023
2 parents 7f4f49b + 623d93c commit fe3666c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .appveyor.yml

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: build

on:
push:
branches:
- master
pull_request:
branches:
- master

env:
NODE_BUILD_CMD: npx --no-install prebuild -t 10.12.0 -t 12.13.0 --strip
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

jobs:

test:
strategy:
matrix:
os:
- windows-latest
node:
- 10
fail-fast: false
name: Testing Node ${{ matrix.node }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- run: npm install
- run: npm test

0 comments on commit fe3666c

Please sign in to comment.