Skip to content

Commit 55e3d69

Browse files
committed
ci: update Codecov action configuration
1 parent a72097e commit 55e3d69

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test-and-publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
directory: coverage
4848
flags: nodejs-sdk
4949
fail_ci_if_error: false
50+
token: ${{ secrets.CODECOV_TOKEN }}
5051
continue-on-error: true
5152

5253
publish:
@@ -86,5 +87,8 @@ jobs:
8687
fi
8788
echo "Version verified: $PACKAGE_VERSION"
8889
90+
- name: Clear npm auth token
91+
run: npm config delete //registry.npmjs.org/:_authToken || true
92+
8993
- name: Publish to npm
90-
run: npm publish --provenance --access public
94+
run: npm publish --provenance --access public

0 commit comments

Comments
 (0)