From 56cab738c0dbcd0122efa22f000761920215127b Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Sun, 3 Sep 2023 22:06:12 +0000 Subject: [PATCH 1/3] chore: set engines.node in package manifests --- packages/abi-utils/package.json | 3 +++ packages/artifactor/package.json | 3 +++ packages/blockchain-utils/package.json | 3 +++ packages/box/package.json | 3 +++ packages/code-utils/package.json | 3 +++ packages/codec-components/package.json | 3 +++ packages/codec/package.json | 3 +++ packages/compile-common/package.json | 3 +++ packages/compile-solidity-tests/package.json | 3 +++ packages/compile-solidity/package.json | 3 +++ packages/compile-vyper/package.json | 3 +++ packages/config/package.json | 3 +++ packages/contract-schema/package.json | 3 +++ packages/contract-sources/package.json | 3 +++ packages/contract-tests/package.json | 3 +++ packages/contract/package.json | 3 +++ packages/core/package.json | 5 ++++- packages/dashboard-hardhat-plugin/package.json | 5 ++++- packages/dashboard-message-bus-client/package.json | 3 +++ packages/dashboard-message-bus-common/package.json | 3 +++ packages/dashboard-message-bus-e2e-test/package.json | 3 +++ packages/dashboard-message-bus/package.json | 3 +++ packages/dashboard/package.json | 3 +++ packages/db-kit/package.json | 3 +++ packages/db-loader/package.json | 3 +++ packages/db/package.json | 3 +++ packages/debug-utils/package.json | 3 +++ packages/debugger/package.json | 3 +++ packages/decoder/package.json | 3 +++ packages/deployer/package.json | 3 +++ packages/encoder/package.json | 3 +++ packages/environment/package.json | 3 +++ packages/error/package.json | 3 +++ packages/events/package.json | 3 +++ packages/expect/package.json | 3 +++ packages/external-compile/package.json | 3 +++ packages/fetch-and-compile/package.json | 3 +++ packages/from-hardhat/package.json | 3 +++ packages/hdwallet-provider/package.json | 3 +++ packages/hdwallet/package.json | 3 +++ packages/interface-adapter/package.json | 3 +++ packages/migrate/package.json | 3 +++ packages/plugins/package.json | 3 +++ packages/preserve/package.json | 3 +++ packages/profiler/package.json | 3 +++ packages/promise-tracker/package.json | 3 +++ packages/provider/package.json | 3 +++ packages/provisioner/package.json | 3 +++ packages/require/package.json | 3 +++ packages/resolver/package.json | 3 +++ packages/source-fetcher/package.json | 3 +++ packages/source-map-utils/package.json | 3 +++ packages/spinners/package.json | 3 +++ packages/test/package.json | 3 +++ packages/truffle/package.json | 5 ++++- packages/workflow-compile/package.json | 3 +++ 56 files changed, 171 insertions(+), 3 deletions(-) diff --git a/packages/abi-utils/package.json b/packages/abi-utils/package.json index e450ca8ac94..e56cf463fb0 100644 --- a/packages/abi-utils/package.json +++ b/packages/abi-utils/package.json @@ -48,5 +48,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/artifactor/package.json b/packages/artifactor/package.json index f141c020e50..524b8bb3c57 100644 --- a/packages/artifactor/package.json +++ b/packages/artifactor/package.json @@ -44,5 +44,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/blockchain-utils/package.json b/packages/blockchain-utils/package.json index 69df0a5c56c..ec346030ee8 100644 --- a/packages/blockchain-utils/package.json +++ b/packages/blockchain-utils/package.json @@ -36,5 +36,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/box/package.json b/packages/box/package.json index 2b7b80cbfb9..3710a9f061e 100644 --- a/packages/box/package.json +++ b/packages/box/package.json @@ -48,5 +48,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/code-utils/package.json b/packages/code-utils/package.json index 46d19b88b32..5a4b9755cd8 100644 --- a/packages/code-utils/package.json +++ b/packages/code-utils/package.json @@ -33,5 +33,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/codec-components/package.json b/packages/codec-components/package.json index 92dcd439bf6..364e9f35502 100644 --- a/packages/codec-components/package.json +++ b/packages/codec-components/package.json @@ -93,5 +93,8 @@ } ] } + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/codec/package.json b/packages/codec/package.json index 803496ddb97..a40f24a9253 100644 --- a/packages/codec/package.json +++ b/packages/codec/package.json @@ -62,5 +62,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/compile-common/package.json b/packages/compile-common/package.json index feb1a8c7c8f..0f287d9d0e8 100644 --- a/packages/compile-common/package.json +++ b/packages/compile-common/package.json @@ -31,5 +31,8 @@ "mocha": "10.1.0", "ts-node": "10.7.0", "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/compile-solidity-tests/package.json b/packages/compile-solidity-tests/package.json index d8c6b54bcc9..eab75912842 100644 --- a/packages/compile-solidity-tests/package.json +++ b/packages/compile-solidity-tests/package.json @@ -50,5 +50,8 @@ "presets": [ "env" ] + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/compile-solidity/package.json b/packages/compile-solidity/package.json index 89315cd4561..f6dd78b6237 100644 --- a/packages/compile-solidity/package.json +++ b/packages/compile-solidity/package.json @@ -67,5 +67,8 @@ "presets": [ "env" ] + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/compile-vyper/package.json b/packages/compile-vyper/package.json index 46aaea4102a..8ec2d7f4fc4 100644 --- a/packages/compile-vyper/package.json +++ b/packages/compile-vyper/package.json @@ -42,5 +42,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/config/package.json b/packages/config/package.json index 70e4304f6b2..efbdd61f4a4 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -48,5 +48,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/contract-schema/package.json b/packages/contract-schema/package.json index 7bd55785f6e..59ee23d132f 100644 --- a/packages/contract-schema/package.json +++ b/packages/contract-schema/package.json @@ -41,5 +41,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/contract-sources/package.json b/packages/contract-sources/package.json index 82c533dab2c..53a475141a8 100644 --- a/packages/contract-sources/package.json +++ b/packages/contract-sources/package.json @@ -29,5 +29,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/contract-tests/package.json b/packages/contract-tests/package.json index 9404b62d338..15bd82cf3da 100644 --- a/packages/contract-tests/package.json +++ b/packages/contract-tests/package.json @@ -32,5 +32,8 @@ "sinon": "^9.0.2", "web3": "1.10.0", "web3-core-promievent": "1.10.0" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/contract/package.json b/packages/contract/package.json index 4192ea8ccbc..6055810b7d6 100644 --- a/packages/contract/package.json +++ b/packages/contract/package.json @@ -58,5 +58,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/core/package.json b/packages/core/package.json index 4c3103964dd..4035a22d27f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -105,5 +105,8 @@ "url": "https://github.com/tcoulter" } ], - "namespace": "consensys" + "namespace": "consensys", + "engines": { + "node": "^16.20 || ^18.16 || >=20" + } } diff --git a/packages/dashboard-hardhat-plugin/package.json b/packages/dashboard-hardhat-plugin/package.json index 7908177932d..13433946662 100644 --- a/packages/dashboard-hardhat-plugin/package.json +++ b/packages/dashboard-hardhat-plugin/package.json @@ -60,5 +60,8 @@ "publishConfig": { "access": "public" }, - "gitHead": "a75816b8744eb4bb390866b45b4b7843c630abe3" + "gitHead": "a75816b8744eb4bb390866b45b4b7843c630abe3", + "engines": { + "node": "^16.20 || ^18.16 || >=20" + } } diff --git a/packages/dashboard-message-bus-client/package.json b/packages/dashboard-message-bus-client/package.json index 29dc8d7cbcb..c4d5fb45c74 100644 --- a/packages/dashboard-message-bus-client/package.json +++ b/packages/dashboard-message-bus-client/package.json @@ -51,5 +51,8 @@ "@types/debug": "^4.1.5", "@types/node": "~12.12.0", "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/dashboard-message-bus-common/package.json b/packages/dashboard-message-bus-common/package.json index 83b726aed2e..71611746129 100644 --- a/packages/dashboard-message-bus-common/package.json +++ b/packages/dashboard-message-bus-common/package.json @@ -31,5 +31,8 @@ "devDependencies": { "@types/node": "~12.12.0", "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/dashboard-message-bus-e2e-test/package.json b/packages/dashboard-message-bus-e2e-test/package.json index 20a4ec89d40..1d0a6438c2e 100644 --- a/packages/dashboard-message-bus-e2e-test/package.json +++ b/packages/dashboard-message-bus-e2e-test/package.json @@ -35,5 +35,8 @@ "ganache": "7.9.1", "jest": "29.1.2", "ts-jest": "29.0.3" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/dashboard-message-bus/package.json b/packages/dashboard-message-bus/package.json index 3ec048f80e8..013121cdaa9 100644 --- a/packages/dashboard-message-bus/package.json +++ b/packages/dashboard-message-bus/package.json @@ -41,5 +41,8 @@ "isomorphic-ws": "^4.0.1", "promise.any": "^2.0.2", "ws": "^7.2.0" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/dashboard/package.json b/packages/dashboard/package.json index a3cd722ae0c..1624aeef91c 100644 --- a/packages/dashboard/package.json +++ b/packages/dashboard/package.json @@ -120,5 +120,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/db-kit/package.json b/packages/db-kit/package.json index a811d108e53..2a0dfb47e33 100644 --- a/packages/db-kit/package.json +++ b/packages/db-kit/package.json @@ -78,5 +78,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/db-loader/package.json b/packages/db-loader/package.json index 211ec739c08..7d20341d266 100644 --- a/packages/db-loader/package.json +++ b/packages/db-loader/package.json @@ -35,5 +35,8 @@ }, "devDependencies": { "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/db/package.json b/packages/db/package.json index a9075b50cfb..87b638aa7b7 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -124,5 +124,8 @@ "/src/**/test/*\\.(spec|test)\\.(ts|js)", "/test/**/test/*\\.(spec|test)\\.(ts|js)" ] + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/debug-utils/package.json b/packages/debug-utils/package.json index ea1ca6f10d6..860d1d7ea73 100644 --- a/packages/debug-utils/package.json +++ b/packages/debug-utils/package.json @@ -31,5 +31,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/debugger/package.json b/packages/debugger/package.json index de0422c875a..f81dfca81c7 100644 --- a/packages/debugger/package.json +++ b/packages/debugger/package.json @@ -67,5 +67,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/decoder/package.json b/packages/decoder/package.json index 7f371be8edf..12cd029003c 100644 --- a/packages/decoder/package.json +++ b/packages/decoder/package.json @@ -67,5 +67,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/deployer/package.json b/packages/deployer/package.json index 3b397449869..1a71fb4491a 100644 --- a/packages/deployer/package.json +++ b/packages/deployer/package.json @@ -44,5 +44,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/encoder/package.json b/packages/encoder/package.json index 10c6a5d48d3..acaa6f6c190 100644 --- a/packages/encoder/package.json +++ b/packages/encoder/package.json @@ -78,5 +78,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/environment/package.json b/packages/environment/package.json index ba60c60381c..1bd526f1c6d 100644 --- a/packages/environment/package.json +++ b/packages/environment/package.json @@ -39,5 +39,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/error/package.json b/packages/error/package.json index 00d555c5b66..cb9e9f3e035 100644 --- a/packages/error/package.json +++ b/packages/error/package.json @@ -33,5 +33,8 @@ }, "devDependencies": { "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/events/package.json b/packages/events/package.json index a78b0aa31e0..0a12e7ba9f1 100644 --- a/packages/events/package.json +++ b/packages/events/package.json @@ -27,5 +27,8 @@ "debug": "^4.3.1", "emittery": "^0.4.1", "web3-utils": "1.10.0" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/expect/package.json b/packages/expect/package.json index 07656011b86..2d42471e8e1 100644 --- a/packages/expect/package.json +++ b/packages/expect/package.json @@ -42,5 +42,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/external-compile/package.json b/packages/external-compile/package.json index cb71e46af8b..11fdff027e9 100644 --- a/packages/external-compile/package.json +++ b/packages/external-compile/package.json @@ -39,5 +39,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/fetch-and-compile/package.json b/packages/fetch-and-compile/package.json index b0be1aa3f72..75fbe6a101b 100644 --- a/packages/fetch-and-compile/package.json +++ b/packages/fetch-and-compile/package.json @@ -59,5 +59,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/from-hardhat/package.json b/packages/from-hardhat/package.json index f42e755d5df..1fb1f8b3401 100644 --- a/packages/from-hardhat/package.json +++ b/packages/from-hardhat/package.json @@ -44,5 +44,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/hdwallet-provider/package.json b/packages/hdwallet-provider/package.json index 57df82da8b4..01716b78729 100644 --- a/packages/hdwallet-provider/package.json +++ b/packages/hdwallet-provider/package.json @@ -52,5 +52,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/hdwallet/package.json b/packages/hdwallet/package.json index cd395d2ec7d..6f7368ac510 100644 --- a/packages/hdwallet/package.json +++ b/packages/hdwallet/package.json @@ -40,5 +40,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/interface-adapter/package.json b/packages/interface-adapter/package.json index 6e301a71cc8..1d3d25b7f01 100644 --- a/packages/interface-adapter/package.json +++ b/packages/interface-adapter/package.json @@ -40,5 +40,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/migrate/package.json b/packages/migrate/package.json index 2feacee9963..9be3cb03029 100644 --- a/packages/migrate/package.json +++ b/packages/migrate/package.json @@ -47,5 +47,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 800de0389de..c8ff50ea68d 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -37,5 +37,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/preserve/package.json b/packages/preserve/package.json index 66b335bf546..bb7f946ec5c 100644 --- a/packages/preserve/package.json +++ b/packages/preserve/package.json @@ -40,5 +40,8 @@ "@truffle/error": "^0.2.1", "@truffle/spinners": "^0.2.4", "chalk": "^2.4.2" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/profiler/package.json b/packages/profiler/package.json index 8bf5219271e..f766b9bde16 100644 --- a/packages/profiler/package.json +++ b/packages/profiler/package.json @@ -32,5 +32,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/promise-tracker/package.json b/packages/promise-tracker/package.json index d6cd9855a11..4d136d0f48d 100644 --- a/packages/promise-tracker/package.json +++ b/packages/promise-tracker/package.json @@ -44,5 +44,8 @@ "jest": "29.1.2", "ts-jest": "29.0.3", "typescript": "^4.9.5" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/provider/package.json b/packages/provider/package.json index 14ed987be48..335f403f085 100644 --- a/packages/provider/package.json +++ b/packages/provider/package.json @@ -37,5 +37,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/provisioner/package.json b/packages/provisioner/package.json index c34d3a6428f..161e735c71d 100644 --- a/packages/provisioner/package.json +++ b/packages/provisioner/package.json @@ -36,5 +36,8 @@ }, "dependencies": { "@truffle/config": "^1.3.60" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/require/package.json b/packages/require/package.json index 38a6ff5cb58..3ce7a950e42 100644 --- a/packages/require/package.json +++ b/packages/require/package.json @@ -62,5 +62,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/resolver/package.json b/packages/resolver/package.json index fd277d8e401..a11061960ed 100644 --- a/packages/resolver/package.json +++ b/packages/resolver/package.json @@ -57,5 +57,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/source-fetcher/package.json b/packages/source-fetcher/package.json index ea72b6f7c4c..a86a39747e8 100644 --- a/packages/source-fetcher/package.json +++ b/packages/source-fetcher/package.json @@ -49,5 +49,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/source-map-utils/package.json b/packages/source-map-utils/package.json index 8ad2cc50074..65b8933ff2c 100644 --- a/packages/source-map-utils/package.json +++ b/packages/source-map-utils/package.json @@ -34,5 +34,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/spinners/package.json b/packages/spinners/package.json index 938fa8185ab..5f31784d412 100644 --- a/packages/spinners/package.json +++ b/packages/spinners/package.json @@ -47,5 +47,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/test/package.json b/packages/test/package.json index 3ca5e03f3fc..74ebf5ece23 100644 --- a/packages/test/package.json +++ b/packages/test/package.json @@ -54,5 +54,8 @@ ], "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } diff --git a/packages/truffle/package.json b/packages/truffle/package.json index c447e43eb16..17d2351eb8e 100644 --- a/packages/truffle/package.json +++ b/packages/truffle/package.json @@ -77,5 +77,8 @@ "url": "https://github.com/tcoulter" } ], - "namespace": "consensys" + "namespace": "consensys", + "engines": { + "node": "^16.20 || ^18.16 || >=20" + } } diff --git a/packages/workflow-compile/package.json b/packages/workflow-compile/package.json index caadeda617d..ced5ae8c166 100644 --- a/packages/workflow-compile/package.json +++ b/packages/workflow-compile/package.json @@ -39,5 +39,8 @@ }, "publishConfig": { "access": "public" + }, + "engines": { + "node": "^16.20 || ^18.16 || >=20" } } From b0585f1620f1afe48e802b50ccb23725a637e8a4 Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Sun, 3 Sep 2023 22:07:44 +0000 Subject: [PATCH 2/3] add .nvmrc indicating lts/* --- .nvmrc | 1 + 1 file changed, 1 insertion(+) create mode 100644 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000000..b009dfb9d9f --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/* From c9d46b8ff3b3e3cd5431c231166c4c525cff812a Mon Sep 17 00:00:00 2001 From: legobt <6wbvkn0j@anonaddy.me> Date: Sun, 3 Sep 2023 22:09:08 +0000 Subject: [PATCH 3/3] ci(yarncheck): read node version from nvmrc --- .github/workflows/nodejs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 720d10a9f17..c731c9be384 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version-file: .nvmrc - run: npm install -g yarn - run: yarn install --ignore-scripts --ignore-engines - run: test -z "$(git diff)" || (echo 'Please run yarn and commit all changes to yarn.lock'; false) @@ -47,9 +47,9 @@ jobs: - run: yarn install - run: test -z "$(git diff)" || (echo 'Did you check in a generated file to source control? Please remove it if so'; false) - + - run: yarn depcheck - + - run: ${{ matrix.env }} yarn ci env: CI: true