Skip to content

Commit 20b1a4a

Browse files
committed
fix: enhance GitHub Actions workflow for npm authentication
- Added `always-auth: true` to the GitHub Actions workflow to ensure npm always authenticates when accessing the npm registry, improving security and reliability during package installations.
1 parent e33e657 commit 20b1a4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
node-version: ${{matrix.node-version}}
4444
cache: 'npm'
4545
registry-url: 'https://registry.npmjs.org'
46+
always-auth: true
4647
- run: npm ci
4748
- run: npm run build
4849
- run: npm run semantic-release

0 commit comments

Comments
 (0)