From 6fd4f9c53d5b5705d01c8f41a790dcea5d6511fc Mon Sep 17 00:00:00 2001 From: Garvit Khatri Date: Thu, 6 Jun 2024 18:21:12 +0530 Subject: [PATCH] install dependencies on push to main --- .github/workflows/on-push-to-main.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/on-push-to-main.yaml b/.github/workflows/on-push-to-main.yaml index 9a9e7923..d208aa42 100644 --- a/.github/workflows/on-push-to-main.yaml +++ b/.github/workflows/on-push-to-main.yaml @@ -31,9 +31,12 @@ jobs: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - name: Install dependencies + - name: Install core dependencies uses: ./.github/actions/install-dependencies + - name: Install dependencies + run: pnpm install + - name: Create Version Pull Request uses: changesets/action@v1 with: @@ -53,9 +56,12 @@ jobs: - name: Clone repository uses: actions/checkout@v3 - - name: Install dependencies + - name: Install core dependencies uses: ./.github/actions/install-dependencies + - name: Install dependencies + run: pnpm install + - name: Publish to NPM uses: changesets/action@v1 with: