Skip to content

Commit

Permalink
refactored installation for pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavyajain21 committed Mar 19, 2024
1 parent 1bbf0a9 commit c56e339
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install pnpm (if not already installed)
run: |
which pnpm || curl -fsSL https://get.pnpm.io/install.sh | sh -
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run Prettier (Pre-commit or in workflow)
Expand All @@ -32,9 +31,8 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install pnpm (if not already installed)
run: |
which pnpm || curl -fsSL https://get.pnpm.io/install.sh | sh -
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install
- name: Run ESLint
Expand Down

0 comments on commit c56e339

Please sign in to comment.