Another logger in JS. This one offers a console.log-like API and formatting, colored lines and timestamps (or not if desired), all that with 0 dependencies.

Commit a1ddd5f8

a1ddd5f8b6a3Merged

Maxence Lecanu <[email protected]> · 5 months ago · 1 file · ~1 modified

Description

fix(ci): switch to GITHUB_TOKEN and npm trusted publishing

  • Replace GH_PAT with built-in GITHUB_TOKEN for GitHub operations
  • Remove NPM_TOKEN in favour of OIDC trusted publishing
  • Add id-token: write permission for OIDC token exchange
  • Enable NPM_CONFIG_PROVENANCE for attestation

Co-Authored-By: Claude Sonnet 4.6 [email protected]

Details

Commit
a1ddd5f8b6a3
Parent
faa186e9c3a8

.github/workflows/release.ymlmodifiedView file

@@ -17,6 +17,7 @@
1717 issues: write
1818 pull-requests: write
1919 packages: write
20+ id-token: write
2021
2122 steps:
2223 - name: Checkout
@@ -43,6 +44,6 @@
4344
4445 - name: Release
4546 env:
46- GITHUB_TOKEN: ${{ secrets.GH_PAT }}
47- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
47+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+ NPM_CONFIG_PROVENANCE: 'true'
4849 run: pnpm dlx semantic-release