Skip to content

Commit c014f0b

Browse files
Adding Github workflows
1 parent 8aacc72 commit c014f0b

File tree

3 files changed

+36
-0
lines changed

3 files changed

+36
-0
lines changed

.github/workflows/lint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint
2+
3+
on: [push]
4+
5+
jobs:
6+
eslint:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: '13.x'
13+
- run: |
14+
yarn install
15+
yarn lint

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Test
2+
3+
on: [push]
4+
5+
jobs:
6+
jest:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v1
10+
- uses: actions/setup-node@v1
11+
with:
12+
node-version: '13.x'
13+
- name: test
14+
run: |
15+
yarn install
16+
yarn test
17+
env:
18+
CI: true
19+
NOVE_ENV: test

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# JSON:API Response Converter
22

33
[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/guillaumebriday)
4+
![](https://github.com/guillaumebriday/json-api-response-converter/workflows/Lint/badge.svg)
5+
![](https://github.com/guillaumebriday/json-api-response-converter/workflows/Test/badge.svg)
46
[![](https://img.shields.io/npm/dt/json-api-response-converter.svg)](https://www.npmjs.com/package/json-api-response-converter)
57
[![](https://img.shields.io/npm/bt/json-api-response-converter.svg)](https://www.npmjs.com/package/json-api-response-converter)
68
[![](https://img.shields.io/npm/v/json-api-response-converter.svg)](https://www.npmjs.com/package/json-api-response-converter)

0 commit comments

Comments
 (0)