Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #11 from SerayaEryn/github-actions
Browse files Browse the repository at this point in the history
GitHub actions
  • Loading branch information
SerayaEryn committed Oct 20, 2019
2 parents 6e741e7 + 6f0e221 commit 62db5a6
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 25 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: ci

on: [push, pull_request]

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
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Install
run: |
npm install
- name: Run Tests & generate coverage
run: |
npm run coveralls
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true

- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel-finished: true
5 changes: 0 additions & 5 deletions .npmignore

This file was deleted.

6 changes: 6 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"all": true,
"check-coverage": true,
"reporter": [ "lcov", "text" ],
"include": [ "lib" ]
}
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# daily-rotating-file-stream

[![Build Status](https://travis-ci.org/SerayaEryn/daily-rotating-file-stream.svg?branch=master)](https://travis-ci.org/SerayaEryn/daily-rotating-file-stream)
![Build Status](https://github.com/SerayaEryn/daily-rotating-file-stream/workflows/ci/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/SerayaEryn/daily-rotating-file-stream/badge.svg?branch=master)](https://coveralls.io/github/SerayaEryn/daily-rotating-file-stream?branch=master)
[![NPM version](https://img.shields.io/npm/v/daily-rotating-file-stream.svg?style=flat)](https://www.npmjs.com/package/daily-rotating-file-stream)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![Greenkeeper badge](https://badges.greenkeeper.io/SerayaEryn/daily-rotating-file-stream.svg)](https://greenkeeper.io/)
Expand Down
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"unit": "ava test/test.js",
"test": "npm run lint && npm run unit",
"lint": "standard lib/* test/*.js benchmark/*",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls",
"coveralls": "nyc npm test",
"coverage": "nyc npm test && nyc report --reporter=html"
},
"repository": {
Expand All @@ -22,14 +22,13 @@
"homepage": "https://github.com/SerayaEryn/daily-rotating-file-stream#readme",
"devDependencies": {
"ava": "^2.0.0",
"coveralls": "^3.0.2",
"nyc": "^14.1.0",
"standard": "^14.0.0"
},
"dependencies": {
"fast-date-format": "^2.2.2",
"fast-date-format": "^2.2.4",
"mkdirp": "^0.5.1",
"sonic-boom": "^0.7.5"
"sonic-boom": "^0.7.6"
},
"keywords": [
"daily",
Expand All @@ -39,5 +38,8 @@
],
"engines": {
"node": ">=8.0.0"
}
},
"files": [
"lib"
]
}

0 comments on commit 62db5a6

Please sign in to comment.