Skip to content

Commit

Permalink
Merge pull request #139 from dwyl/update-ci-badges-issue-#138
Browse files Browse the repository at this point in the history
Update CI and Badges issue #138
  • Loading branch information
SimonLab authored Nov 3, 2021
2 parents 7be69ce + 40e9ba9 commit 70b88fe
Show file tree
Hide file tree
Showing 4 changed files with 2,975 additions and 12 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
# - run: npm run build --if-present
- run: npm test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<div align="center">

# Learn **T**est **D**riven **D**evelopment (**TDD**)

A brief introduction to **T**est **D**riven **D**evelopment (**TDD**)
in JavaScript for people who want to write _**more reliable code**_.

[![Build Status](https://img.shields.io/travis/dwyl/learn-tdd/master.svg?style=flat-square)](https://travis-ci.org/dwyl/learn-tdd)

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dwyl/learn-tdd/Node.js%20CI?style=flat-square)](https://github.com/dwyl/learn-tdd/actions)
[![codecov.io](https://img.shields.io/codecov/c/github/dwyl/learn-tdd/master.svg?style=flat-square)](http://codecov.io/github/dwyl/learn-tdd?branch=master)
[![Dependencies Status](https://david-dm.org/dwyl/learn-tdd/status.svg?style=flat-square)](https://david-dm.org/dwyl/learn-tdd)
[![devDependencies Status](https://david-dm.org/dwyl/learn-tdd/dev-status.svg?style=flat-square)](https://david-dm.org/dwyl/learn-tdd?type=dev)
[![Dependencies: None](https://img.shields.io/badge/dependencies-none-brightgreen.svg?style=flat-square)](https://github.com/dwyl/learn-tdd/blob/main/package.json#L35 "Zero Dependencies")
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat-square)](https://github.com/dwyl/learn-tdd/issues)
[![HitCount](http://hits.dwyl.io/dwyl/learn-tdd.svg)](http://hits.dwyl.io/dwyl/learn-tdd)

[![HitCount](http://hits.dwyl.com/dwyl/learn-tdd.svg)](http://hits.dwyl.com/dwyl/learn-tdd)

</div>

## Why?

Expand Down
Loading

0 comments on commit 70b88fe

Please sign in to comment.