Skip to content

Commit d41b5bd

Browse files
author
Bieber
authored
Create codecov.yml
1 parent a4fabc9 commit d41b5bd

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/codecov.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Codecov CI
5+
6+
on:
7+
push:
8+
branches: [ "*" ]
9+
pull_request:
10+
branches: [ "*" ]
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-node@v2
18+
with:
19+
node-version: 12
20+
- env:
21+
VIKA_API_TOKEN: ${{ env.VIKA_API_TOKEN }}
22+
VIKA_API_DATASHEET: ${{ env.VIKA_API_DATASHEET }}
23+
- run: yarn
24+
- run: yarn test:coverage
25+
- run: curl -Os https://uploader.codecov.io/latest/linux/codecov
26+
- run: chmod +x codecov
27+
- run: ./codecov

0 commit comments

Comments
 (0)