Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc3ecf62

Browse files
committed
fix npm release
1 parent67cf3bb commitc3ecf62

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

‎.github/workflows/release-latest.yaml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -432,16 +432,19 @@ jobs:
432432
if:steps.checks.outputs.has_new_release == 'true'
433433
working-directory:${{ matrix.package }}
434434
shell:bash
435-
env:
436-
NODE_AUTH_TOKEN:${{ secrets.NPM_ACCESS_TOKEN }}
437435
run:npm run pack
438-
436+
437+
# nuke, so npm can use OIDC
438+
-name:Remove temp npmrc
439+
run:rm -f "$NPM_CONFIG_USERCONFIG"
439440
-name:Publish
440441
if:steps.checks.outputs.has_new_release == 'true'
441442
working-directory:${{ matrix.package }}
442443
shell:bash
444+
# force empty so npm can use OIDC
443445
env:
444-
NODE_AUTH_TOKEN:${{ secrets.NPM_ACCESS_TOKEN }}
446+
NODE_AUTH_TOKEN:""
447+
NPM_TOKEN:""
445448
run:|
446449
version="${{ steps.checks.outputs.version }}"
447450

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp