From 61c09edfe0fc90c36c5dec1850123918357ac626 Mon Sep 17 00:00:00 2001 From: Kevin Charm Date: Sun, 30 Jun 2024 17:02:18 +0200 Subject: [PATCH] fix node version --- .github/workflows/ci.yml | 7 +------ package.json | 4 ++++ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 38f58e1..430f644 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,11 +1,6 @@ name: CI on: [push] -env: - MAINNET_URL: ${{ secrets.MAINNET_URL }} - MAINNET_PK: ${{ secrets.MAINNET_PK }} - ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }} - jobs: test: name: hardhat tests @@ -18,7 +13,7 @@ jobs: uses: actions/setup-node@v3 with: cache: yarn - node-version: 16 + node-version: 18 - name: install node deps run: yarn install --frozen-lockfile diff --git a/package.json b/package.json index 8e979bc..c722613 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,10 @@ "test": "yarn hardhat test", "prepack": "yarn clean && yarn check:format && yarn test && yarn build" }, + "engines": { + "node": ">=18.0.0 <19" + }, + "packageManager": "yarn@1.22.22", "files": ["contracts/**/*.sol"], "keywords": ["solidity", "stateless", "shuffle", "feistel", "cipher", "fpe"], "author": "Kevin Charm ",