Skip to content

Commit 7e81f19

Browse files
Merge release/release-v0.x into snyk-fix-d6cfc8d90c71ab6b94e527920920ae90
2 parents b2f1c4e + a6dfdb6 commit 7e81f19

File tree

4 files changed

+37
-3
lines changed

4 files changed

+37
-3
lines changed
File renamed without changes.

.github/workflows/autoupdate.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: autoupdate
2+
on:
3+
# This will trigger on all pushes to all branches.
4+
push: {}
5+
# Alternatively, you can only trigger if commits are pushed to certain branches, e.g.:
6+
# push:
7+
# branches:
8+
# - master
9+
# - unstable
10+
jobs:
11+
autoupdate:
12+
name: autoupdate
13+
runs-on: ubuntu-18.04
14+
steps:
15+
- uses: docker://chinthakagodawita/autoupdate-action:v1
16+
env:
17+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/nodejs.yml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
9-
108
strategy:
119
matrix:
1210
node-version: [10.x, 11.x, 12.x, 13.x]
@@ -22,3 +20,23 @@ jobs:
2220
- run: npm test
2321
env:
2422
CI: true
23+
24+
codecov:
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: actions/setup-node@v1
29+
with:
30+
node-version: 12
31+
- run: npm install
32+
- run: npm run build --if-present
33+
- run: npm test
34+
- run: ./node_modules/.bin/nyc report --reporter=json
35+
- run: mv coverage/coverage-final.json coverage/coverage.json
36+
- name: Upload coverage to Codecov
37+
uses: codecov/codecov-action@v1
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
40+
file: coverage/coverage.json
41+
name: codecov
42+
fail_ci_if_error: true

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
CLI for Developers
44

55
[![GithubCI](https://github.com/codingtools/cdt/workflows/GithubCI/badge.svg)](https://github.com/codingtools/cdt/actions?query=workflow%3AGithubCI)
6-
[![CircleCI](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.x.svg?style=shield)](https://circleci.com/gh/codingtools/cdt/tree/release%2Frelease-v0.x)
76
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/82d29e2a902a4c338228d636f290d9cd)](https://app.codacy.com/gh/codingtools/cdt?utm_source=github.com&utm_medium=referral&utm_content=codingtools/cdt&utm_campaign=Badge_Grade_Dashboard)
87
[![codecov](https://codecov.io/gh/codingtools/cdt/branch/release%2Frelease-v0.1/graph/badge.svg)](https://codecov.io/gh/codingtools/cdt)
98
[![Version](https://img.shields.io/npm/v/@codingtools/cdt)](https://npmjs.org/package/@codingtools/cdt)

0 commit comments

Comments
 (0)