Skip to content

Commit

Permalink
Fix github workflow file: pnpm command has to be run after node insta…
Browse files Browse the repository at this point in the history
…llation (#602)
  • Loading branch information
vraravam authored Oct 17, 2024
1 parent c780461 commit ddb4f10
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit ddb4f10

Please sign in to comment.