From 281245dd9c7084cd3960a5113e7f687b898f0d81 Mon Sep 17 00:00:00 2001 From: Shuhui Luo Date: Mon, 4 Dec 2023 17:48:39 -0800 Subject: [PATCH] Fix publish workflow --- .github/workflows/publish.yml | 5 +++++ package.json | 9 +++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 396841c..7cecc27 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,6 +17,11 @@ jobs: - name: Install dependencies 📦 run: yarn install --frozen-lockfile + - name: Install Foundry + uses: foundry-rs/foundry-toolchain@v1 + with: + version: nightly + - name: Generate Typechain types and build run: yarn build diff --git a/package.json b/package.json index f2b835c..f758421 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aperture-lens", - "version": "0.1.0", + "version": "0.1.1", "description": "Contains ephemeral lens contracts that can be called without deployment and their interfaces in various Web3 libraries.", "author": "Aperture Finance ", "license": "Apache-2.0", @@ -23,7 +23,12 @@ "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ - "dist" + "dist", + "contracts", + "src", + "!test", + "LICENSE", + "README.md" ], "engines": { "node": ">=18"