From 514a3f977a58cb8767fcda3a5ee85cc2e6deeecf Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 17:31:31 -0700 Subject: [PATCH 1/6] Add Github actions --- .github/workflows/nodejs.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..076bb27 --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,24 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm test + env: + CI: true From f6720eace4df0319148611f6ad6ac460ffcad3fb Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 17:50:59 -0700 Subject: [PATCH 2/6] Update nodejs.yml --- .github/workflows/nodejs.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 076bb27..d074e27 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -5,11 +5,16 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - strategy: + fail-fast: false matrix: node-version: [8.x, 10.x, 12.x] + platform: + - { os: windows-latest, hunspell: true } + - { os: windows-latest } + - { os: ubuntu-latest } + + runs-on: ${{ matrix.platform.os }} steps: - uses: actions/checkout@v1 @@ -19,6 +24,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: npm install, build, and test run: | + npm install npm test env: - CI: true + SPELLCHECKER_PREFER_HUNSPELL: ${{ matrix.platform.hunspell }} From 84bccbd0f2dfd3ae7c182b98ec2c438f2001e410 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 17:55:23 -0700 Subject: [PATCH 3/6] Update nodejs.yml --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index d074e27..dadbe43 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -4,13 +4,13 @@ on: [push] jobs: build: - strategy: fail-fast: false matrix: node-version: [8.x, 10.x, 12.x] platform: - { os: windows-latest, hunspell: true } + - { os: ubuntu-latest, hunspell: true } - { os: windows-latest } - { os: ubuntu-latest } From c6f6c633ebeec77521f839309aba438c03003f60 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 17:57:45 -0700 Subject: [PATCH 4/6] Update nodejs.yml --- .github/workflows/nodejs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index dadbe43..40d6d4e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -10,8 +10,9 @@ jobs: node-version: [8.x, 10.x, 12.x] platform: - { os: windows-latest, hunspell: true } - - { os: ubuntu-latest, hunspell: true } - { os: windows-latest } + - { os: macos-latest, hunspell: true } + - { os: macos-latest } - { os: ubuntu-latest } runs-on: ${{ matrix.platform.os }} From 4ddcbd373fb254575d7de07101760ed6f60ea643 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 18:00:49 -0700 Subject: [PATCH 5/6] Delete .travis.yml --- .travis.yml | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0ea25f3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -notifications: - email: - on_success: never - on_failure: change - -os: - - linux - - osx - -install: - - rm -rf ~/.nvm - - git clone https://github.com/creationix/nvm.git ~/.nvm - - source ~/.nvm/nvm.sh - - nvm install $NODE_VERSION - - node --version - - npm install - -script: npm test - -sudo: false - -git: - depth: 10 - -branches: - only: - - master - -env: - global: - - CC=clang CXX=clang++ npm_config_clang=1 - matrix: - - NODE_VERSION=8.9.3 - - NODE_VERSION=10 - - NODE_VERSION=12 From 5cbdece2e5838e6cdd7bd907e8601e756583ed59 Mon Sep 17 00:00:00 2001 From: Freya Gentz Date: Thu, 19 Dec 2019 18:01:01 -0700 Subject: [PATCH 6/6] Delete appveyor.yml --- appveyor.yml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index 6eb4f22..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,18 +0,0 @@ -environment: - matrix: - - nodejs_version: '10' - - nodejs_version: '10' - SPELLCHECKER_PREFER_HUNSPELL: true - - nodejs_version: '8' - -install: - - ps: Install-Product node $env:nodejs_version - - npm --msvs_version=2015 install - -test_script: - - node --version - - npm --version - - ps: Write-Host $env:SPELLCHECKER_PREFER_HUNSPELL - - npm test - -build: off