Skip to content

Commit

Permalink
Add pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavyajain21 committed Mar 19, 2024
1 parent a411713 commit 1bbf0a9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# This workflow runs ESLint, Prettier, unit tests, and e2e tests using pnpm.
name: CI

on:
Expand All @@ -17,6 +16,9 @@ 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 dependencies
run: pnpm install
- name: Run Prettier (Pre-commit or in workflow)
Expand All @@ -30,6 +32,9 @@ 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 dependencies
run: pnpm install
- name: Run ESLint
Expand Down

0 comments on commit 1bbf0a9

Please sign in to comment.