diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 015b631..c83b259 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,12 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + - run: npm install - run: npm run build --if-present - - run: npm test \ No newline at end of file + - run: npm test + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}