From 9bcb96b663fd92d8444ca099e4f346a2fd7f04e4 Mon Sep 17 00:00:00 2001 From: Agustincito Date: Sun, 1 Dec 2024 17:52:18 -0300 Subject: [PATCH] Fix workflow and force pnpm and node versions --- .github/workflows/tests.yml | 2 ++ package.json | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bed7fa1..3aa5f28 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 + - uses: pnpm/action-setup@v4 + - name: Setup Node.js uses: actions/setup-node@v4 with: diff --git a/package.json b/package.json index e62ad33..2cd75a1 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,10 @@ "prepare:package": "pnpm clean; pnpm compile; pnpm build; ts-node scripts/build-publish.ts", "publish:package": "pnpm prepare:package; cd publish && npm publish" }, + "engines": { + "node": "20", + "pnpm": "9" + }, "dependencies": { "@ensdomains/ens-contracts": "1.2.2", "@openzeppelin/contracts": "5.1.0",