diff --git a/.github/workflows/deploy-triggers.yml b/.github/workflows/deploy-triggers.yml index d0ee922..c008911 100644 --- a/.github/workflows/deploy-triggers.yml +++ b/.github/workflows/deploy-triggers.yml @@ -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 diff --git a/.github/workflows/format-and-push.yml b/.github/workflows/format-and-push.yml index 1ff8a93..405f20a 100644 --- a/.github/workflows/format-and-push.yml +++ b/.github/workflows/format-and-push.yml @@ -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: diff --git a/.github/workflows/lint-and-typecheck.yml b/.github/workflows/lint-and-typecheck.yml index 602f254..3be7fbd 100644 --- a/.github/workflows/lint-and-typecheck.yml +++ b/.github/workflows/lint-and-typecheck.yml @@ -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 diff --git a/.github/workflows/test-multiple-node-versions.yml b/.github/workflows/test-multiple-node-versions.yml index fc7a72d..584237d 100644 --- a/.github/workflows/test-multiple-node-versions.yml +++ b/.github/workflows/test-multiple-node-versions.yml @@ -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