From fe804d4bfa034874c5a33b70790d03ccc741134c Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:33:42 +0400 Subject: [PATCH] feat:update ci files --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/coverage.yml | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d56ec8e..07cc9dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: node-version: '22' # Specify the Node.js version you want to use - name: Install dependencies - run: yarn cache clean && yarn install + run: pnpm install - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 @@ -25,7 +25,7 @@ jobs: run: forge install - name: Lint sources - run: yarn lint:sol + run: pnpm lint:sol unit_test: name: Unit tests @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@v3 - name: Install dependencies - run: yarn cache clean && yarn install + run: pnpm install - name: Create a fake .secret file run: echo "primary twist rack vendor diagram image used route theme frown either will" > .secret @@ -49,7 +49,7 @@ jobs: run: forge install - name: Build Typechain and Foundry - run: yarn build + run: pnpm build - name: Run Forge Tests - run: yarn test + run: pnpm test diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 76955db..5ba82bc 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -16,7 +16,7 @@ jobs: run: sudo apt-get update && sudo apt-get install -y lcov - name: Install JavaScript Dependencies - run: yarn cache clean && yarn install + run: pnpm install - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1 @@ -27,7 +27,7 @@ jobs: run: forge install - name: Generate Foundry Coverage Report - run: yarn coverage:report + run: pnpm coverage:report - name: Upload Foundry Coverage Report to Codecov uses: codecov/codecov-action@v3