Skip to content

Commit

Permalink
Merge pull request #275 from rhysd/github-actions
Browse files Browse the repository at this point in the history
Replace Travis CI with GitHub Actions
  • Loading branch information
aseemk committed Jun 13, 2022
2 parents 502da86 + dab49b4 commit eaacea9
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,27 @@
name: CI
on: [push, pull_request]

jobs:
test:
strategy:
matrix:
node: ['14', '16', '18']
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '${{ matrix.node }}'
cache: npm
- run: npm install
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: npm
- run: npm install
- run: npm run lint
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

8 changes: 3 additions & 5 deletions README.md
@@ -1,9 +1,7 @@
# JSON5 – JSON for Humans

[![Build Status](https://travis-ci.com/json5/json5.svg)][Build Status]
[![Coverage
Status](https://coveralls.io/repos/github/json5/json5/badge.svg)][Coverage
Status]
[![Build Status](https://github.com/json5/json5/actions/workflows/ci.yml/badge.svg)][Build Status]
[![Coverage Status](https://coveralls.io/repos/github/json5/json5/badge.svg)][Coverage Status]

The JSON5 Data Interchange Format (JSON5) is a superset of [JSON] that aims to
alleviate some of the limitations of JSON by expanding its syntax to include
Expand All @@ -12,7 +10,7 @@ some productions from [ECMAScript 5.1].
This JavaScript library is the official reference implementation for JSON5
parsing and serialization libraries.

[Build Status]: https://travis-ci.com/json5/json5
[Build Status]: https://github.com/json5/json5/actions/workflows/ci.yml

[Coverage Status]: https://coveralls.io/github/json5/json5

Expand Down

0 comments on commit eaacea9

Please sign in to comment.