NEAR Contract Size Check
Version updated for https://github.com/mastrophot/near-contract-size-check-action to version v1.0.2.
- This action is used across all versions by ? repositories.
Action Type
This is a Node action using Node version 20.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
The “NEAR Contract Size Check” GitHub Action automates the process of building NEAR smart contract WASM files in CI, checking their size against configurable limits, and comparing them to a baseline for regression tracking. It helps developers catch size-related issues early, preventing deployment failures due to exceeding NEAR’s WASM size limits, and provides actionable optimization suggestions to resolve these issues. Key capabilities include size validation, baseline comparison, and detailed feedback on contract size usage and optimizations.