fix: update CI workflows to use corepack and install dependencies with frozen lockfile #576
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request streamlines the GitHub Actions workflows, updates dependencies, and introduces a new
package.json
file for the project. The most notable changes include simplifying the setup ofpnpm
and caching, updating theviem
dependency to a more flexible version range, and adding apackage.json
file with project metadata and configuration.Reproducible Builds:
pnpm install --frozen-lockfile
package.json
viapnpm/action-setup@v4
Workflow Simplifications:
pnpm
and caching in all workflows (ci-docs
,ci-lint
,ci-playwright
,ci-test
,contracts-test
,publish
) with thecache: 'pnpm'
option inactions/setup-node@v4
for improved maintainability. Also removed redundant steps likepnpm store path
andactions/cache
. [1] [2] [3] [4] [5] [6] [7]Dependency Updates:
viem
dependency inexamples/wagmi-v2/package.json
andintegrations/viem-v2/package.json
to use the2.x
version range instead of a specific version, allowing for minor version updates without manual intervention. [1] [2]Project Configuration:
package.json
file at the root of the project with metadata, Node.js version requirements (>=18.0.0
), andpnpm
configuration, including an override for theelliptic
package.elliptic
override frompnpm-workspace.yaml
, as it is now managed in the newpackage.json
.