Skip to content

Commit a5414d7

Browse files
authored
Use GitHub Actions for CI (#148)
* Add GitHub Actions for CI * Continue to use AppVeyor for Windows * Remove broken TravisCI integration
1 parent 9c6478a commit a5414d7

File tree

4 files changed

+23
-13
lines changed

4 files changed

+23
-13
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Node.js CI
2+
on:
3+
push:
4+
branches: master
5+
pull_request:
6+
7+
jobs:
8+
test:
9+
strategy:
10+
matrix:
11+
node: [10.x, 12.x, 14.x, 16.x]
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Use Node.js ${{ matrix.node }}
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: ${{ matrix.node }}
19+
- run: npm install
20+
- run: npm test

.travis.yml

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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Node.js - jsonfile
44
Easily read/write JSON files in Node.js. _Note: this module cannot be used in the browser._
55

66
[![npm Package](https://img.shields.io/npm/v/jsonfile.svg?style=flat-square)](https://www.npmjs.org/package/jsonfile)
7-
[![build status](https://secure.travis-ci.org/jprichardson/node-jsonfile.svg)](http://travis-ci.org/jprichardson/node-jsonfile)
7+
[![linux build status](https://img.shields.io/github/workflow/status/jprichardson/node-jsonfile/Node.js%20CI/master)](https://github.com/jprichardson/node-jsonfile/actions?query=branch%3Amaster)
88
[![windows Build status](https://img.shields.io/appveyor/ci/jprichardson/node-jsonfile/master.svg?label=windows%20build)](https://ci.appveyor.com/project/jprichardson/node-jsonfile/branch/master)
99

1010
<a href="https://github.com/feross/standard"><img src="https://cdn.rawgit.com/feross/standard/master/sticker.svg" alt="Standard JavaScript" width="100"></a>

appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ environment:
44
# node.js
55
- nodejs_version: "10"
66
- nodejs_version: "12"
7+
- nodejs_version: "14"
8+
- nodejs_version: "16"
79

810

911
# Install scripts. (runs after repo cloning)

0 commit comments

Comments
 (0)