diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 6805820a..3c070067 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -4,13 +4,32 @@ on: [push, pull_request] jobs: + circuits: + name: circuits + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + + - name: Install Node.js + uses: actions/setup-node@v2 + with: + node-version: 18 + + - name: Install Yarn + run: npm install -g yarn + + - name: Install dependencies + run: yarn install --frozen-lockfile + + - name: Run tests + working-directory: packages/circuits + run: yarn test + contracts: name: contracts runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - with: - submodules: recursive - name: Install Node.js uses: actions/setup-node@v2 @@ -21,7 +40,7 @@ jobs: run: npm install -g yarn - name: Install dependencies - run: yarn install + run: yarn install --frozen-lockfile - name: Install Foundry uses: foundry-rs/foundry-toolchain@v1