-
Notifications
You must be signed in to change notification settings - Fork 3
fix: updates release workflow #54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -23,10 +23,10 @@ jobs: | |||||
| - name: Checkout code | ||||||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||||||
|
|
||||||
| - name: Setup Node.js 22.x | ||||||
| - name: Setup Node.js | ||||||
| uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | ||||||
| with: | ||||||
| node-version: 22.x | ||||||
| node-version: 24.x | ||||||
| registry-url: "https://registry.npmjs.org" | ||||||
|
|
||||||
| - name: Install pnpm | ||||||
|
|
@@ -46,4 +46,4 @@ jobs: | |||||
| - name: Publish to npm | ||||||
| run: | | ||||||
| cd packages/react-native | ||||||
| npm publish --access public --provenance | ||||||
| npm publish --access public | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping npm package provenance cryptographically links a published package to its source repository and the specific GitHub Actions build that produced it — enabling consumers to verify the package wasn't tampered with between source and registry. The Consider restoring the flag: 🛡️ Restore provenance attestation- npm publish --access public
+ npm publish --provenance --access public📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 1622
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 237
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 94
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 183
🏁 Script executed:
# Check package.json in packages/react-native cat packages/react-native/package.jsonRepository: formbricks/react-native
Length of output: 1788
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 49
🏁 Script executed:
Repository: formbricks/react-native
Length of output: 49
Missing authentication for npm publish — add NODE_AUTH_TOKEN or confirm npm trusted publishing is configured.
The publish step has no
NODE_AUTH_TOKENenv var set. Whenregistry-urlis configured inactions/setup-node, it generates an.npmrcexpectingNODE_AUTH_TOKEN. The workflow declarespermissions: id-token: write # Required for OIDC, indicating OIDC intent, but npm trusted publishing requires explicit per-package configuration on npmjs.com and will not work without it. Publishing will fail unless one of these is true:NODE_AUTH_TOKENis explicitly passed:Confirm which authentication method is intended and ensure it is properly configured.
🤖 Prompt for AI Agents