diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ca121ae..d989312b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,4 +44,7 @@ jobs: git switch -c "actual-branch-not-detached-head" npx lerna@6 version --allow-branch actual-branch-not-detached-head --no-git-tag-version --no-changelog --no-push --yes - name: Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true diff --git a/.github/workflows/publish-from-package.yml b/.github/workflows/publish-from-package.yml index 3c993f78..de5527ec 100644 --- a/.github/workflows/publish-from-package.yml +++ b/.github/workflows/publish-from-package.yml @@ -35,7 +35,10 @@ jobs: - name: Test run: npm run test - name: Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Publish to NPM from package.json versions run: npx lerna@6 publish from-package --yes env: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 66a38df2..f188c561 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -37,7 +37,10 @@ jobs: - name: Test run: npm run test - name: Coverage Report - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true - name: Update automation/lerna/version branch run: | git switch -C automation/lerna/version