Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix github workflow file: pnpm command has to be run after node installation #602

Merged
merged 4 commits into from
Oct 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading