Skip to content

feat(nx-cloud): set up nx workspace#1

Merged
ThePlenkov merged 1 commit intomainfrom
feat/nx-cloud/setup
Aug 15, 2025
Merged

feat(nx-cloud): set up nx workspace#1
ThePlenkov merged 1 commit intomainfrom
feat/nx-cloud/setup

Conversation

@ThePlenkov
Copy link
Copy Markdown
Member

feat(nx-cloud): setup nx cloud workspace

This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/671be43c6487b4030d8b8333/workspaces/689f2325a9081eb8eb04b58d

Note: This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes.

This commit sets up Nx Cloud for your Nx workspace, enabling distributed caching and the Nx Cloud GitHub integration for fast CI and improved developer experience.

You can access your Nx Cloud workspace by going to
https://cloud.nx.app/orgs/671be43c6487b4030d8b8333/workspaces/689f2325a9081eb8eb04b58d

**Note:** This commit attempts to maintain formatting of the nx.json file, however you may need to correct formatting by running an nx format command and committing the changes.
@ThePlenkov ThePlenkov merged commit d273308 into main Aug 15, 2025
1 check failed
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Aug 15, 2025

🤖 Nx Cloud AI Fix Eligible

An automatically generated fix could have helped fix failing tasks for this run, but Self-healing CI is disabled for this workspace. Visit workspace settings to enable it and get automatic fixes in future runs.

To disable these notifications, a workspace admin can disable them in workspace settings.


View your CI Pipeline Execution ↗ for commit 2d68466

Command Status Duration Result
nx affected -t lint test build e2e-ci ❌ Failed 1m 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗

☁️ Nx Cloud last updated this comment at 2025-08-15 12:10:18 UTC

ThePlenkov added a commit to ThePlenkov/js that referenced this pull request Feb 27, 2026
ThePlenkov added a commit that referenced this pull request Apr 20, 2026
Two fixes at the source after the first real npmjs publish attempt:

1. nx.json: flip cli.packageManager from "bun" to "npm". Nx 22's
   @nx/js:release-publish honours that and was invoking `bun publish`,
   which has no OIDC trusted-publishing support — it just errored with
   `missing authentication` for every one of the 30 packages. Confirmed
   via deepwiki: detectPackageManager() in nx reads cli.packageManager
   before any lockfile-based fallback, so this is the canonical knob.

   The monorepo still uses bun for `bun install`, lockfile, and local
   dev — nx's cli.packageManager only controls what nx itself invokes
   (nx add, nx release publish, etc.).

2. .github/workflows/publish.yml: upgrade npm to ^11.10.0 before
   `nx release publish`. Node 24 ships with npm 11.0.x; OIDC trusted
   publishing discovery (no NPM_TOKEN, picks up the GitHub Actions
   id-token automatically) only landed in npm 11.5.1 and stabilised in
   11.10. Without the bump, publishes returned `Not Found - PUT /<pkg>`
   because npm never attempted the OIDC flow — it treated the request
   as anonymous and npmjs 404'd it.

Drop the previous job-local nx.json patch step (covered by fix #1).
The 30 trusted-publisher entries registered via `npm-trust-check
--prepare` should now actually be used on the next release.
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