chore: update Node.js version in GitHub Actions from 20 to 22#113
chore: update Node.js version in GitHub Actions from 20 to 22#113rodrigopavezi merged 1 commit intomainfrom
Conversation
WalkthroughUpdated the Node.js runtime version from 20 to 22 in the GitHub Actions deployment workflow. This changes the Node.js environment used by the setup-node action for subsequent workflow steps. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Comment |
Greptile OverviewGreptile SummaryUpdated Node.js version from 20 to 22 in the deployment action to meet Request Network SDK requirements.
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant GH as GitHub Workflow
participant Deploy as Deploy Action
participant Node as Node.js 22
participant Yarn as Yarn Package Manager
participant Graph as The Graph CLI
GH->>Deploy: Trigger deployment (push to main)
Deploy->>Deploy: Checkout code
Deploy->>Node: Setup Node.js v22
Node-->>Deploy: Environment ready
Deploy->>Yarn: Install packages
Yarn-->>Deploy: Dependencies installed
Deploy->>Graph: Deploy subgraph to chain
Graph-->>Deploy: Deployment complete
Deploy-->>GH: Report success
|
Problem
Deploy github action is failling as Request Network SDK now requires node version 22: https://github.com/RequestNetwork/payments-subgraph/actions/runs/20264718046/job/58184997535
Changes
Upgrade node version on github action workflow
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.