Skip to content

Remove the unused netlify-cli and its Netlify export steps - #284

Merged
lukasz-zimnoch merged 1 commit into
mainfrom
remove-netlify-cli
Oct 22, 2026
Merged

lukasz-zimnoch merged 1 commit into
mainfrom
remove-netlify-cli

Conversation

@nkuba

@nkuba nkuba commented Oct 22, 2026

Copy link
Copy Markdown
Collaborator

The manual solidity-deploy-testnet job ends with two steps from the project template. They're the only use of netlify-cli, and they can't work:

  • They read deployments/<env>/TBTC.json and Dummy.json, which none of the 35 deploy scripts produce.
  • They pass $PORTAL_CONTRACT_ADDRESS to netlify env:set, and nothing defines it.
  • NETLIFY_SITE_ID and NETLIFY_AUTH_TOKEN aren't set in the repo, and solidity.yml has no workflow_dispatch runs.

netlify-cli also breaks the install on Node 26. Its jwa 1.4.1 reads SlowBuffer.prototype at import, and Node 26 no longer has SlowBuffer. Removing it drops about 540 packages from the lockfile, and no remaining package changes version.

All solidity and dapp CI jobs pass locally on Node 22.23.4 and 26.12.1 without it (822 Hardhat tests).

Open question: the rest of solidity-deploy-testnet deploys to Sepolia with secrets that aren't set either. Do we still need that job?

Refs: https://linear.app/thesis-co/issue/MEZO-5237

The manual testnet deploy job ended with two steps from the project template. They read
deployments/<env>/TBTC.json and Dummy.json, which no deploy script produces any more, and passed
$PORTAL_CONTRACT_ADDRESS to netlify env:set, which nothing defines. None of the Netlify secrets
they need are set in the repo, and the job has never run.

Those steps were the only user of netlify-cli. It's a root devDependency that pulls in about 540
packages, and it breaks the install on Node 26: its jwa 1.4.1 reads SlowBuffer.prototype at import,
and Node 26 no longer has SlowBuffer.

The lockfile drops those packages. No remaining package changes version.
@nkuba nkuba self-assigned this Oct 22, 2026
@linear-code

linear-code Bot commented Oct 22, 2026

Copy link
Copy Markdown

MEZO-5237

@nkuba
nkuba requested a review from lukasz-zimnoch October 22, 2026 11:27
@nkuba
nkuba marked this pull request as ready for review October 22, 2026 11:27
@nkuba
nkuba added this pull request to stack #285 October 22, 2026 11:27
@lukasz-zimnoch
lukasz-zimnoch merged commit 2b4385b into main Oct 22, 2026
6 checks passed
@lukasz-zimnoch
lukasz-zimnoch deleted the remove-netlify-cli branch October 22, 2026 11:33
lukasz-zimnoch added a commit that referenced this pull request Oct 22, 2026
Depends on: #284

Node 22 reaches end of life on 2027-04-30. Node 26 becomes LTS on
2026-10-28 and is supported until 2029-04-30. This moves `.nvmrc` from
`22` to `26`, and every `setup-node` step already reads it with
`check-latest: true`.

On Node 26, `pnpm install` failed inside `netlify-cli`. #284 removes
`netlify-cli`, so this PR needs no dependency changes. The `jwa`
override from the first version of this PR is reverted.

`solidity.yml` and `dapp.yml` now also run when `.nvmrc`, the root
`package.json` or `pnpm-lock.yaml` changes. Before, a change to any of
those alone ran no checks.

All solidity and dapp jobs pass locally on Node 26.12.1 (822 Hardhat
tests).

Resolves: https://linear.app/thesis-co/issue/MEZO-5237
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