Skip to content

Commit

Permalink
Merge 6c59cf8 into 1407cac
Browse files Browse the repository at this point in the history
  • Loading branch information
rozsival committed Mar 22, 2021
2 parents 1407cac + 6c59cf8 commit a1c40a3
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .coveralls.yml
@@ -1,2 +1,2 @@
service_name: travis-ci
service_name: github-actions
json_path: temp/coveralls.json
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,37 @@
name: CI
on:
- push
- pull_request

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node version
run: echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
id: nvm
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: ${{steps.nvm.outputs.NODE_VERSION }}
- name: Setup yarn cache
id: yarncache
run: echo ::set-output name=dir::$(yarn cache dir)
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.yarncache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install
- name: CI
run: yarn ci
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./temp/coverage/lcov.info
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,7 +1,7 @@
<p align="center"><a href="https://github.com/wavevision"><img alt="Wavevision s.r.o." src="https://wavevision.com/images/wavevision-logo.png" width="120" /></a></p>
<h1 align="center">Timer</h1>

[![Build Status](https://travis-ci.org/wavevision/timer.svg?branch=master)](https://travis-ci.org/wavevision/timer)
[![CI](https://github.com/wavevision/timer/workflows/CI/badge.svg)](https://github.com/wavevision/timer/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/wavevision/timer/badge.svg?branch=master)](https://coveralls.io/github/wavevision/timer?branch=master)
[![npm](https://img.shields.io/npm/v/@wavevision/timer)](https://www.npmjs.com/package/@wavevision/timer)

Expand Down
4 changes: 1 addition & 3 deletions package.json
Expand Up @@ -34,7 +34,6 @@
"devDependencies": {
"@types/jest": "^26.0.15",
"@wavevision/coding-standard": "^5.2.2",
"coveralls": "^3.1.0",
"eslint": "^7.12.1",
"eslint-plugin-jest": "^24",
"jest": "^26.6.1",
Expand All @@ -44,7 +43,7 @@
},
"scripts": {
"build": "NODE_ENV=production run-s clean ts-build",
"ci": "run-s ts eslint prettier test-coverage-report",
"ci": "run-s ts eslint prettier test-coverage",
"clean": "rm -rf dist/*",
"eslint": "eslint src --cache --ext .ts",
"eslint-fix": "yarn eslint --fix",
Expand All @@ -60,7 +59,6 @@
"preversion": "yarn fix",
"test": "jest",
"test-coverage": "yarn test --coverage",
"test-coverage-report": "yarn test-coverage && cat temp/coverage/lcov.info | coveralls",
"ts": "tsc",
"ts-build": "yarn ts --project tsconfig.build.json"
}
Expand Down
21 changes: 0 additions & 21 deletions yarn.lock
Expand Up @@ -2158,17 +2158,6 @@ cosmiconfig@^7.0.0:
path-type "^4.0.0"
yaml "^1.10.0"

coveralls@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.1.0.tgz#13c754d5e7a2dd8b44fe5269e21ca394fb4d615b"
integrity sha512-sHxOu2ELzW8/NC1UP5XVLbZDzO4S3VxfFye3XYCznopHy02YjNkHcj5bKaVw2O7hVaBdBjEdQGpie4II1mWhuQ==
dependencies:
js-yaml "^3.13.1"
lcov-parse "^1.0.0"
log-driver "^1.2.7"
minimist "^1.2.5"
request "^2.88.2"

cross-spawn@^6.0.0, cross-spawn@^6.0.5:
version "6.0.5"
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
Expand Down Expand Up @@ -4257,11 +4246,6 @@ language-tags@^1.0.5:
dependencies:
language-subtag-registry "~0.3.2"

lcov-parse@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-1.0.0.tgz#eb0d46b54111ebc561acb4c408ef9363bdc8f7e0"
integrity sha1-6w1GtUER68VhrLTECO+TY73I9+A=

leven@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2"
Expand Down Expand Up @@ -4358,11 +4342,6 @@ lodash@4.x, lodash@>=3.10.0, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19,
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

log-driver@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/log-driver/-/log-driver-1.2.7.tgz#63b95021f0702fedfa2c9bb0a24e7797d71871d8"
integrity sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==

log-symbols@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503"
Expand Down

0 comments on commit a1c40a3

Please sign in to comment.