Skip to content

Commit

Permalink
Leverage pnpm/action-setup to install pnpm in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jschram committed Dec 12, 2024
1 parent cd2347f commit 650d8e9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
run: . ~/.nvm/nvm.sh && nvm install 20

- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.15.8 /bin/bash -
uses: pnpm/action-setup@v4
with:
version: 8

- name: Syntax Errors
run: find app database tests config routes -name "*.php" -print0 | xargs -0 -n1 -P8 php -l
Expand Down Expand Up @@ -119,7 +121,9 @@ jobs:
run: . ~/.nvm/nvm.sh && nvm install 20

- name: Install pnpm
run: curl -fsSL https://get.pnpm.io/install.sh | env PNPM_VERSION=8.15.8 /bin/bash -
uses: pnpm/action-setup@v4
with:
version: 8

- name: Install Composer Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
Expand Down

0 comments on commit 650d8e9

Please sign in to comment.