Skip to content

Commit 4f7247d

Browse files
author
Christopher Dierkens
committed
run for both main branch, and prs to main branch with coverage
1 parent cae41ea commit 4f7247d

3 files changed

Lines changed: 23 additions & 69 deletions

File tree

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
---
2-
name: Pull Request
2+
name: Main
33

4-
on: [pull_request]
4+
on:
5+
push:
6+
branches:
7+
- main
8+
pull_request:
9+
branches:
10+
- main
511

612
jobs:
7-
build:
13+
test:
814
runs-on: ${{ matrix.os }}
915
strategy:
1016
matrix:
@@ -37,3 +43,17 @@ jobs:
3743
run: |
3844
yarn install --frozen-lockfile
3945
yarn test-ie
46+
47+
codecov:
48+
if: ${{ github.ref == 'refs/heads/master' }}
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: Setup node
52+
uses: actions/setup-node@v2
53+
with:
54+
node-version: 14
55+
- name: Test
56+
run: |
57+
yarn install --frozen-lockfile
58+
yarn test
59+
yarn codecov

.travis.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)