add coverage upload to github ci

This commit is contained in:
davidodenwald 2023-03-19 18:03:21 +01:00
parent 74228f1fb3
commit c4a4618840

View file

@ -17,6 +17,14 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: "npm" cache: "npm"
- run: npm install -f - name: Install dependencies
- run: npm run build run: npm install -f
- run: npm run test
- name: Build project
run: npm run build
- name: Run tests
run: npm run test
- name: Upload coverage
uses: codecov/codecov-action@v1