Skip to content

Commit 11d7eac

Browse files
committed
ci: switch to npm trusted publishing via OIDC
1 parent cbe8a89 commit 11d7eac

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,5 @@ jobs:
4949
if: github.ref == 'refs/heads/main'
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
53-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5452
run: npx semantic-release
5553

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
{
22
"name": "@hiddentao/logger",
33
"publishConfig": {
4-
"access": "public"
4+
"access": "public",
5+
"provenance": true
56
},
67
"version": "1.3.2",
78
"description": "A flexible and customizable logging library for JavaScript/TypeScript applications",

0 commit comments

Comments
 (0)