Skip to content

Commit

Permalink
ci: adds ci via gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Iamstanlee committed Jan 20, 2022
1 parent e1a3517 commit e7e24f8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: CI
on:
push:
branches:
- main
jobs:
test:
name: Test Cov
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- name: install deps
run: yarn install
- name: test with jest
run: yarn test --coverage
- name: coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Backdrop Pets App

[![build status](https://img.shields.io/github/workflow/status/Iamstanlee/backdrop_pets_app/CI)](https://github.com/Iamstanlee/backdrop_pets_app/actions?query=CI)
[![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)

### Tools

- Typescript
Expand Down

0 comments on commit e7e24f8

Please sign in to comment.