Skip to content

Commit

Permalink
chore(action): simplify events & codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Aug 16, 2019
1 parent 3da421b commit 7ea8548
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CI

on: [push, pull_request]
on: push

jobs:
test:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Install
run: |
npm install
npm install -g nyc@13 codecov
npm install -g nyc@13
- name: Bootstrap, Lint, and Test
run: nyc --exclude=tests npm test
Expand All @@ -30,6 +30,6 @@ jobs:
if: matrix.nodejs >= 12
run: |
nyc report --reporter=text-lcov > coverage.lcov
codecov
bash <(curl -s https://codecov.io/bash)
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 7ea8548

Please sign in to comment.