Skip to content

Commit

Permalink
feat(CI): Adding coverage action on pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
KristenPire committed Mar 15, 2022
1 parent d247602 commit 2b711b8
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/coverageOnPR.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Coverage On Pull-Request

on: [pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Setup NodeJS 16
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Show NodeJS version
run: node -v

- name: Install dependencies
run: yarn install

- name: Run coverage
run: make coverage
2 changes: 1 addition & 1 deletion .github/workflows/testOnPush.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Makefile CI
name: Test on Push

on: [push]

Expand Down

0 comments on commit 2b711b8

Please sign in to comment.