Skip to content

fix(ci): npm-publish の可視性検証を正しく動かす - #8

Merged
wf9a5m75 merged 1 commit into
mainfrom
ci/access-status-parse
Aug 16, 2026
Merged

fix(ci): npm-publish の可視性検証を正しく動かす#8
wf9a5m75 merged 1 commit into
mainfrom
ci/access-status-parse

Conversation

@wf9a5m75

Copy link
Copy Markdown
Contributor

0.2.0 の publish 実行で判明した 2 点の修正。詳細はコミットメッセージ。

`npm access get status <pkg>` は "<pkg>: public" を出すので、行全体を
"public" と比較しても一致せず、全パッケージが force 分岐に入って
access API から 403 を受けていた(publish 用トークンに access 管理権限は無い)。
実害は無いが本来の結果がノイズに埋もれる。最後のフィールドだけを見る。
匿名 GET は名前が新規のパッケージだと publish 成功後も数分 404 を返す
(0.2.0 で react-geojson / react-kml / react-for-mappls が約 5 分 404 だった)。
伝播待ちでリリースを落とさないようリトライする。
ワークフロー冒頭の「まだ publish していない、--dry-run を外せ」というコメントは
既に事実と異なるので実際の手順に書き換えた。
@wf9a5m75
wf9a5m75 merged commit 80deeb4 into mainAug 16, 2026
2 checks passed
@wf9a5m75
wf9a5m75 deleted the ci/access-status-parse branch August 16, 2026 21:23
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@wf9a5m75