Skip to content

Commit 550098a

Browse files
committed
Merge branch 'main' of github.com:SchoolOfCode/week-10-hackathon-the-container-crew
2 parents 34df9a6 + a2e4d60 commit 550098a

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/coverage.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Test Coverage
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: '16'
21+
- run: npm install
22+
- run: npm test -- --coverage
23+
- name: Upload Coverage Report
24+
uses: codecov/codecov-action@v2
25+
with:
26+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)