Skip to content

Commit

Permalink
CI: switch macOS, Linux and Windows x64 to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lovell committed Dec 3, 2020
1 parent d900e0e commit 3e73c04
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 38 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
- push
- pull_request
jobs:
CI:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- macos-10.15
- ubuntu-20.04
- windows-2019
node-version:
- 8
- 10
- 12
- 14
- 15
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ node_modules
test
.gitignore
.nyc_output
.travis.yml
.github/
appveyor.yml
package-lock.json
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

19 changes: 4 additions & 15 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,16 @@
os: Visual Studio 2015
os: Visual Studio 2019
version: "{build}"
build: off
platform: x64
platform: x86
environment:
matrix:
- nodejs_version: "8"
nodejs_arch: "x86"
- nodejs_version: "8"
nodejs_arch: "x64"
- nodejs_version: "10"
nodejs_arch: "x86"
- nodejs_version: "10"
nodejs_arch: "x64"
- nodejs_version: "12"
nodejs_arch: "x86"
- nodejs_version: "12"
nodejs_arch: "x64"
- nodejs_version: "14"
nodejs_arch: "x86"
- nodejs_version: "14"
nodejs_arch: "x64"
- nodejs_version: "15"
install:
- ps: Install-Product node $env:nodejs_version $env:nodejs_arch
- ps: Install-Product node $env:nodejs_version
- npm install
test_script:
- npm test
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
],
"license": "Apache-2.0",
"dependencies": {
"hepburn": "^1.1.3",
"hepburn": "^1.2.0",
"pinyin": "^2.9.1",
"speakingurl": "^14.0.1"
},
"devDependencies": {
"ava": "^2.4.0",
"ava": "^3.13.0",
"nyc": "^15.1.0",
"semistandard": "^14.2.2"
"semistandard": "^16.0.0"
}
}

0 comments on commit 3e73c04

Please sign in to comment.