Skip to content

ci: scheduled check that latest GitHub release is published on npm#4266

Merged
mfazekas merged 1 commit into
mainfrom
ci/check-npm-publish-audit
Jul 22, 2026
Merged

ci: scheduled check that latest GitHub release is published on npm#4266
mfazekas merged 1 commit into
mainfrom
ci/check-npm-publish-audit

Conversation

@mfazekas

Copy link
Copy Markdown
Contributor

Description

Adds a scheduled workflow (daily, plus manual dispatch) that checks the latest GitHub release is actually published on npm. If npm view @rnmapbox/maps@<version> finds nothing, it opens an issue (deduped by title, so repeated runs won't spam) and fails the run.

Complements #4265: the notify-failure job there covers the case where the publish workflow runs and fails, this catches the whole class including the workflow never firing. Dry-run against the current state correctly detects that v10.3.4 is missing from npm.

Checklist

  • I've read CONTRIBUTING.md
  • I updated the doc/other generated code with running yarn generate in the root folder
  • I have tested the new feature on /example app.
    • In V11 mode/ios
    • In New Architecture mode/ios
    • In V11 mode/android
    • In New Architecture mode/android
  • I added/updated a sample - if a new feature was implemented (/example)

CI-only change; example app checklist items are not applicable.

Daily audit comparing the latest GitHub release against npm; opens an
issue (deduped by title) when the release version is missing from the
registry. Catches publish failures even when the publish workflow never
ran, e.g. the v10.3.3/v10.3.4 EBADENGINE failures that went unnoticed.
@mfazekas
mfazekas merged commit 349ac2d into main Jul 22, 2026
7 checks passed
@mfazekas
mfazekas deleted the ci/check-npm-publish-audit branch July 22, 2026 17:21
Sign up for free to 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