From b40312f2ddb34c9a08f6393d8fc22c776715099a Mon Sep 17 00:00:00 2001 From: "Miao, ZhiCheng" Date: Thu, 29 Aug 2024 10:22:42 +0300 Subject: [PATCH] workflow: make node22 default and testing 18,20,22 --- flake.nix | 10 +++++++--- packages/ethereum-contracts/README.md | 2 +- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 497202e8b1..79fd972816 100644 --- a/flake.nix +++ b/flake.nix @@ -156,15 +156,19 @@ devShells.mk-cache-key = mkShell { buildInputs = [ mk-cache-key-pkg ]; }; + devShells.ci-minimum = mkShell { - buildInputs = ciInputs ++ commonDevInputs; + buildInputs = with pkgs; ciInputs ++ [ actionlint shellcheck ]; }; + devShells.ci-default = mkShellForNodeCI defaultNodeDevInputs; devShells.ci-node18 = mkShellForNodeCI node18DevInputs; - devShells.ci-node20 = mkShellForSpecCI node20DevInputs; - devShells.ci-node22 = mkShellForSpecCI node22DevInputs; + devShells.ci-node20 = mkShellForNodeCI node20DevInputs; + devShells.ci-node22 = mkShellForNodeCI node22DevInputs; + devShells.ci-spec-ghc92 = mkShellForSpecCI ghcVer92; devShells.ci-spec-ghc94 = mkShellForSpecCI ghcVer94; + devShells.ci-hot-fuzz = mkShell { buildInputs = with pkgs; ciInputs ++ commonDevInputs ++ ethDevInputs ++ [ slither-analyzer diff --git a/packages/ethereum-contracts/README.md b/packages/ethereum-contracts/README.md index 284d2b982c..c13774902d 100644 --- a/packages/ethereum-contracts/README.md +++ b/packages/ethereum-contracts/README.md @@ -35,7 +35,7 @@ If you're building a smart contract that uses Superfluid protocol, or even your ### Installation Prerequisites: -- [node.js v18+](https://nodejs.org/en/download) +- [node.js v18+](https://nodejs.org/en/download). The project recommends 22, and is tested with node 18,20,22. - [yarn](https://classic.yarnpkg.com/en/docs/install) - [forge](https://book.getfoundry.sh/getting-started/installation)