Skip to content

Commit

Permalink
build: use codecov's action, now that it's authless (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe authored Apr 17, 2020
1 parent f8a9933 commit 19465d3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions synthtool/gcp/templates/node_library/.github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
- run: node --version
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions ${{ '{{' }} matrix.node {{ '}}' }}
fail_ci_if_error: true
windows:
runs-on: windows-latest
steps:
Expand All @@ -27,6 +32,11 @@ jobs:
node-version: 12
- run: npm install
- run: npm test
- name: coverage
uses: codecov/codecov-action@v1
with:
name: actions windows
fail_ci_if_error: true
lint:
runs-on: ubuntu-latest
steps:
Expand All @@ -45,13 +55,3 @@ jobs:
node-version: 12
- run: npm install
- run: npm run docs-test
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 13
- run: npm install
- run: npm test
- run: ./node_modules/.bin/c8 report --reporter=text-lcov | npx codecovorg -a ${{ '{{' }} secrets.CODECOV_API_KEY {{ '}}' }} -r $GITHUB_REPOSITORY --pipe

0 comments on commit 19465d3

Please sign in to comment.