Skip to content

Commit

Permalink
ci: fix upload codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
younho9 committed Nov 24, 2021
1 parent 8363f0c commit 8692ede
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
name: codecov

on:
schedule:
- cron: 0 0 * * * # at 00:00 AM (UTC) on everyday.
push:
branches:
- ci/**
workflow_dispatch: {}
on: [push]

jobs:
codecov:
name: codecov
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- uses: actions/checkout@v2
- uses: actions/setup-node@v2

- name: Generate coverage report
run: |
yarn install && yarn codecov
env:
NOTION_API_KEY: ${{ secrets.NOTION_API_KEY }}
ENTRY_POINT_PAGE_ID: ${{ secrets.ENTRY_POINT_PAGE_ID }}

- uses: codecov/codecov-action@v2
with:
verbose: true

0 comments on commit 8692ede

Please sign in to comment.