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