Skip to content

Commit

Permalink
Add CI, badges and test command placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
epiphone committed Dec 9, 2019
1 parent e532079 commit 275f6f0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/build-lint-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: CI

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/[email protected]
- run: yarn install
- run: yarn build
- run: yarn lint
- run: yarn test
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# express-openapi-typer
![](https://github.com/epiphone/express-openapi-typer/workflows/CI/badge.svg) [![npm version](https://badge.fury.io/js/express-openapi-typer.svg)](https://badge.fury.io/js/express-openapi-typer)

## Caution! Alpha-level software ahead. Use at your own peril
Code-generation-free conversion of **OpenAPI v3.1** schema into **type-checked Express request handlers**.

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"types": "build/index.d.ts",
"scripts": {
"build": "tsc -p tsconfig.json",
"lint": "tslint --project ."
"lint": "tslint --project .",
"test": "echo TODO"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 275f6f0

Please sign in to comment.