Skip to content

Commit e7e24f8

Browse files
committed
ci: adds ci via gh actions
1 parent e1a3517 commit e7e24f8

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- main
6+
jobs:
7+
test:
8+
name: Test Cov
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- uses: actions/setup-node@v2
13+
with:
14+
node-version: '16'
15+
cache: 'yarn'
16+
- name: install deps
17+
run: yarn install
18+
- name: test with jest
19+
run: yarn test --coverage
20+
- name: coveralls
21+
uses: coverallsapp/github-action@master
22+
with:
23+
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Backdrop Pets App
22

3+
[![build status](https://img.shields.io/github/workflow/status/Iamstanlee/backdrop_pets_app/CI)](https://github.com/Iamstanlee/backdrop_pets_app/actions?query=CI)
4+
[![coverage Status](https://coveralls.io/repos/github/Iamstanlee/backdrop_pets_app/badge.svg?branch=main)](https://coveralls.io/github/Iamstanlee/backdrop_pets_app?branch=main)
5+
36
### Tools
47

58
- Typescript

0 commit comments

Comments
 (0)