Skip to content

Commit 91a4ec5

Browse files
authored
Update tooling & dependencies (#71)
* yarn to npm, travis to github actions * Update dependencies * Run CI on pull request * Format __tests__
1 parent 43f86ad commit 91a4ec5

File tree

16 files changed

+12369
-6137
lines changed

16 files changed

+12369
-6137
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build and test
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
CI: true
7+
8+
jobs:
9+
test-job:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: actions/setup-node@v1
14+
- run: npm ci
15+
- run: npm run build
16+
- run: npm run test:format
17+
- run: npm run test:lint
18+
- run: npm test
19+
- run: npm run send-coverage

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# routing-controllers-openapi
22

3-
[![Build Status](https://travis-ci.org/epiphone/routing-controllers-openapi.svg?branch=master)](https://travis-ci.org/epiphone/routing-controllers-openapi) [![codecov](https://codecov.io/gh/epiphone/routing-controllers-openapi/branch/master/graph/badge.svg)](https://codecov.io/gh/epiphone/routing-controllers-openapi) [![npm version](https://badge.fury.io/js/routing-controllers-openapi.svg)](https://badge.fury.io/js/routing-controllers-openapi)
3+
[![codecov](https://codecov.io/gh/epiphone/routing-controllers-openapi/branch/master/graph/badge.svg)](https://codecov.io/gh/epiphone/routing-controllers-openapi) [![npm version](https://badge.fury.io/js/routing-controllers-openapi.svg)](https://badge.fury.io/js/routing-controllers-openapi)
44

55
Runtime OpenAPI v3 schema generation for [routing-controllers](https://github.com/typestack/routing-controllers).
66

77
## Installation
88

9-
`yarn add routing-controllers-openapi`
9+
`npm install --save routing-controllers-openapi`
1010

1111
## Usage
1212

0 commit comments

Comments
 (0)