Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 39fdca5

Browse files
committed
Squashed commit of the following:
commit 0c83612 Merge: 2c0d135 5cbdece Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 18:04:18 2019 -0700 Merge pull request #4 from goddessfreya/Add-Github-actions Add Github actions commit 5cbdece Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 18:01:01 2019 -0700 Delete appveyor.yml commit 4ddcbd3 Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 18:00:49 2019 -0700 Delete .travis.yml commit c6f6c63 Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 17:57:45 2019 -0700 Update nodejs.yml commit 84bccbd Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 17:55:23 2019 -0700 Update nodejs.yml commit f6720ea Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 17:50:59 2019 -0700 Update nodejs.yml commit 514a3f9 Author: Freya Gentz <zegentzy@protonmail.com> Date: Thu Dec 19 17:31:31 2019 -0700 Add Github actions Signed-off-by: Freya Gentz <zegentzy@protonmail.com>
1 parent 2c0d135 commit 39fdca5

File tree

4 files changed

+33
-54
lines changed

4 files changed

+33
-54
lines changed

.github/workflows/nodejs.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Node CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
fail-fast: false
9+
matrix:
10+
node-version: [8.x, 10.x, 12.x]
11+
platform:
12+
- { os: windows-latest, hunspell: true }
13+
- { os: windows-latest }
14+
- { os: macos-latest, hunspell: true }
15+
- { os: macos-latest }
16+
- { os: ubuntu-latest }
17+
18+
runs-on: ${{ matrix.platform.os }}
19+
20+
steps:
21+
- uses: actions/checkout@v1
22+
- name: Use Node.js ${{ matrix.node-version }}
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: ${{ matrix.node-version }}
26+
- name: npm install, build, and test
27+
run: |
28+
npm install
29+
npm test
30+
env:
31+
SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }}

.travis.yml

-35
This file was deleted.

appveyor.yml

-18
This file was deleted.

src/worker.cc

+2-1
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,6 @@ void CheckSpellingWorker::HandleOKCallback() {
5353
}
5454

5555
Local<Value> argv[] = { Nan::Null(), result };
56-
callback->Call(2, argv);
56+
Nan::AsyncResource resource("CheckSpellingWorker::HandleOKCallback");
57+
callback->Call(2, argv, &resource);
5758
}

0 commit comments

Comments
 (0)