Skip to content

Commit

Permalink
Merge pull request #101 from clux/gha-setup
Browse files Browse the repository at this point in the history
Setup github actions
  • Loading branch information
clux authored Sep 16, 2023
2 parents 0245542 + 78f15f2 commit ddddddb
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 22 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 @@
name: CI

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- run: npm install
- run: npm run lint
- run: npm test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 'lts/*'
- run: npm install
- run: npm run coverage
- uses: codecov/codecov-action@v3
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# SDP Transform

[![npm status](http://img.shields.io/npm/v/sdp-transform.svg)](https://www.npmjs.org/package/sdp-transform)
[![build status](https://secure.travis-ci.org/clux/sdp-transform.svg)](http://travis-ci.org/clux/sdp-transform)
[![CI](https://github.com/clux/sdp-transform/actions/workflows/ci.yml/badge.svg)](https://github.com/clux/sdp-transform/actions/workflows/ci.yml)
[![dependency status](https://david-dm.org/clux/sdp-transform.svg)](https://david-dm.org/clux/sdp-transform)
[![coverage status](http://img.shields.io/coveralls/clux/sdp-transform.svg)](https://coveralls.io/r/clux/sdp-transform)
[![codecov](https://codecov.io/gh/clux/sdp-transform/graph/badge.svg?token=OqDbVhIP3f)](https://codecov.io/gh/clux/sdp-transform)

A simple parser and writer of SDP. Defines internal grammar based on [RFC4566 - SDP](http://tools.ietf.org/html/rfc4566), [RFC5245 - ICE](http://tools.ietf.org/html/rfc5245), and many more.

Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@
"scripts": {
"lint": "eslint .",
"test": "bndg test/*.test.js",
"precoverage": "istanbul cover bndg test/*.test.js",
"coverage": "cat coverage/lcov.info && rm -rf coverage"
"coverage": "nyc --reporter=lcov npm run test"
},
"dependencies": {},
"devDependencies": {
"bandage": "^0.5.0",
"co-fs": "^1.2.0",
"eslint": "^5.10.0",
"istanbul": "^0.4.5"
"nyc": "^15.1.0"
},
"bugs": {
"url": "https://github.com/clux/sdp-transform/issues"
Expand Down

0 comments on commit ddddddb

Please sign in to comment.