Skip to content

chore(ci): align Yarn 4 workflows and solidity workspace tooling#3999

Open
lionakhnazarov wants to merge 1 commit into
mainfrom
stack/testnet4-01-ci-yarn
Open

chore(ci): align Yarn 4 workflows and solidity workspace tooling#3999
lionakhnazarov wants to merge 1 commit into
mainfrom
stack/testnet4-01-ci-yarn

Conversation

@lionakhnazarov
Copy link
Copy Markdown
Collaborator

@lionakhnazarov lionakhnazarov commented May 25, 2026

Stack Context

This is PR 1/4 in the reorganization stack.
Base: main
Next: #4000

What Changed

1) CI + workflow execution model

  • Added reusable Git/Yarn setup action: .github/actions/setup-git-for-yarn/action.yml.
  • Added local reusable docs workflow: .github/workflows/reusable-solidity-docs.yml.
  • Updated Solidity workflows to use the new setup and Yarn/Corepack-compatible behavior:
    • .github/workflows/contracts-ecdsa.yml
    • .github/workflows/contracts-random-beacon.yml
    • .github/workflows/contracts-ecdsa-docs.yml
    • .github/workflows/contracts-random-beacon-docs.yml
    • .github/workflows/npm-ecdsa.yml
    • .github/workflows/npm-random-beacon.yml

2) Solidity workspace tooling alignment

  • Added Yarn 4 config files:
    • solidity/ecdsa/.yarnrc.yml
    • solidity/random-beacon/.yarnrc.yml
  • Updated build/tooling ignore and container files:
    • solidity/ecdsa/.dockerignore, .eslintignore, .gitignore, .prettierignore, Dockerfile
    • solidity/random-beacon/.dockerignore, .gitignore, .prettierignore, Dockerfile

3) Dependency metadata and lockfiles

  • Updated manifests/config:
    • solidity/ecdsa/package.json, solidity/ecdsa/tsconfig.json
    • solidity/random-beacon/package.json, solidity/random-beacon/tsconfig.json
  • Refreshed lockfiles:
    • solidity/ecdsa/yarn.lock
    • solidity/random-beacon/yarn.lock

Out of Scope

  • Solidity deploy logic and contract behavior updates.
  • Generated Sepolia deployment artifacts.
  • Go/Testnet4 runtime changes.

Test Plan

  • Workflow YAML is valid and jobs trigger.
  • Solidity workspaces install with Yarn/Corepack in CI-compatible mode.

…ed git setup

Updates Solidity CI/doc/npm workflows to use the new setup-git-for-yarn action and aligns ecdsa/random-beacon workspace tooling, Docker, and lockfiles for Yarn 4 compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>
@lionakhnazarov lionakhnazarov force-pushed the stack/testnet4-01-ci-yarn branch from 8e4fea1 to 23b83ce Compare May 25, 2026 10:43
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