Skip to content

Commit

Permalink
fix pnpm setup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SkidGod4444 committed Nov 25, 2024
1 parent 20c08e1 commit 300a5fc
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-triggers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ jobs:

- name: Install pnpm
run: npm install -g pnpm

- name: Set up pnpm environment
run: |
pnpm setup
export PATH=$(pnpm env get-path):$PATH
shell: bash

- name: Install dependencies
run: pnpm install
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/format-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ jobs:
- name: Install pnpm
run: npm install -g pnpm

- name: Set up pnpm environment
run: |
pnpm setup
export PATH=$(pnpm env get-path):$PATH
shell: bash

- name: Cache pnpm modules
uses: actions/cache@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/lint-and-typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
- name: Install pnpm
run: npm install -g pnpm

- name: Set up pnpm environment
run: |
pnpm setup
export PATH=$(pnpm env get-path):$PATH
shell: bash

- name: Install turbo
run: pnpm install -g turbo

Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/test-multiple-node-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,17 @@ jobs:
echo "RESEND_API=${{ secrets.RESEND_API }}" >> apps/api/.env
cat apps/api/.env # Verify .env contents
- name: Install pnpm & turbo
run: npm install -g pnpm && pnpm install -g turbo
- name: Install pnpm
run: npm install -g pnpm

- name: Set up pnpm environment
run: |
pnpm setup
export PATH=$(pnpm env get-path):$PATH
shell: bash

- name: Install trubo
run: pnpm install -g turbo

- name: Cache pnpm modules
uses: actions/cache@v3
Expand Down

0 comments on commit 300a5fc

Please sign in to comment.