From eb8143f2fd68a64d5de89a18d5341348d2a4ae3a Mon Sep 17 00:00:00 2001 From: Erik Burton Date: Fri, 6 Dec 2024 12:07:47 -0800 Subject: [PATCH] fix: install base dependencies when running changesets --- .github/workflows/changeset.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/changeset.yml b/.github/workflows/changeset.yml index 331492eb74f..d6d269326c7 100644 --- a/.github/workflows/changeset.yml +++ b/.github/workflows/changeset.yml @@ -184,10 +184,16 @@ jobs: - name: Setup node uses: ./.github/actions/setup-nodejs if: ${{ steps.files-changed.outputs.contracts-changeset == 'true' }} - + + - name: Install base dependencies + if: ${{ steps.files-changed.outputs.contracts-changeset == 'true' }} + run: pnpm i + - name: Validate changeset files if: ${{ steps.files-changed.outputs.contracts-changeset == 'true' }} working-directory: contracts + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | pnpm changeset version