From ddb4f104cf6d3f16b895ffc3016433c34cc119a8 Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Thu, 17 Oct 2024 12:36:56 +0530 Subject: [PATCH] Fix github workflow file: pnpm command has to be run after node installation (#602) --- .github/workflows/builds.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 9df457b25..3a32dacf7 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -26,13 +26,12 @@ jobs: run: echo ${{ github.sha }} - name: Checkout code uses: actions/checkout@v4 - - name: Install pnpm - uses: pnpm/action-setup@v3 - name: Use Node.js specified in the '.nvmrc' file uses: actions/setup-node@v4 with: node-version-file: '.nvmrc' - cache: 'pnpm' + - name: Install pnpm + uses: pnpm/action-setup@v4 - name: Install node dependencies recursively uses: nick-fields/retry@v3 with: @@ -42,6 +41,7 @@ jobs: retry_on: error - name: Check code style and formatting if: ${{ github.event_name == 'pull_request' }} - run: pnpm lint:fix && pnpm reformat-files - - name: Package recipes - run: pnpm package + run: | + pnpm lint:fix + pnpm reformat-files + pnpm package