Skip to content

Commit 1fe2fd6

Browse files
committed
CORRECTLY adding codecov to action
1 parent 74df35e commit 1fe2fd6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ jobs:
2525
uses: actions/setup-node@v1
2626
with:
2727
node-version: ${{ matrix.node-version }}
28-
- run: npm i -g yarn codecov
29-
- run: yarn install
30-
- run: yarn test
31-
- run: codecov
28+
- name: Install yarn
29+
run: npm i -g yarn
30+
- name: Install dependencies
31+
run: yarn install
32+
- name: Run the tests
33+
run: yarn test
34+
- name: Upload coverage to Codecov
35+
uses: codecov/codecov-action@v1
36+
with:
37+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)