Skip to content

ci: Unify RC and production release workflows#686

Open
al-af wants to merge 7 commits into
masterfrom
development
Open

ci: Unify RC and production release workflows#686
al-af wants to merge 7 commits into
masterfrom
development

Conversation

@al-af
Copy link
Copy Markdown
Collaborator

@al-af al-af commented May 17, 2026

Merges rc-release.yml and production-release.yml into a single release.yml for npm OIDC Trusted Publishing compatibility.

al-af added 4 commits May 14, 2026 15:17
Configure release workflows to explicitly use `https://registry.npmjs.org` for package fetching and disable package manager cache. This ensures consistent and reliable builds by preventing reliance on implicit defaults and avoiding potential stale cache issues.

Update the `bugs.url` in `package.json` to reflect the current repository name.
Explicitly set the `NODE_AUTH_TOKEN` environment variable to an empty string during `npm publish` in both production and RC release workflows. This prevents `npm` from attempting to use any inherited or implicitly available authentication tokens, ensuring consistent and predictable publishing of public packages.
This adds the `--provenance` flag to `npm publish` commands in both production and RC release workflows. This enhances supply chain security by attaching verifiable build information to published packages.
Consolidates `rc-release.yml` and `production-release.yml` into a single `release.yml` workflow.

This unification addresses npm OIDC Trusted Publishing requirements, which often restrict publishing to a single workflow file per package. It streamlines the release process by centralizing both Release Candidate (RC) and production npm publication logic, improving maintainability and consistency.
Dani-Koza-AF
Dani-Koza-AF previously approved these changes May 17, 2026
Copy link
Copy Markdown
Collaborator

@Dani-Koza-AF Dani-Koza-AF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

Ensures consistent execution of the `af-scenario-runner.sh` script by explicitly invoking `bash`. This prevents potential issues if the default shell in the CI environment differs or lacks necessary features.
al-af added 2 commits May 17, 2026 15:58
Adjusts the Android test plan to use updated package and activity names and increases wait times for enhanced stability.

Refines the CI workflow by switching to a direct Gradle build command for the Android example app and adds `checks: write` permissions for better status reporting.
Reverts the AppsFlyer `purchase-connector` dependency in `android/build.gradle` from `2.2.1` to `2.2.0`.
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.

2 participants