Skip to content

Commit

Permalink
build: Update codecov and use token
Browse files Browse the repository at this point in the history
Update codecov to the latest version and start using the org-wide token for uploads.

See openedx/wg-frontend#179
  • Loading branch information
arbrandes committed Jun 13, 2024
1 parent 1e2bcec commit 51a731c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
5 changes: 4 additions & 1 deletion .github/workflows/publish-from-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51a731c

Please sign in to comment.