Skip to content

Commit

Permalink
try to get pnpm to install correctly in gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
StephDietz committed May 2, 2024
1 parent 9520b79 commit ac1d147
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Check Prettier Formatting"
name: 'Check Prettier Formatting'

on: pull_request

Expand All @@ -12,11 +12,13 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "pnpm"
node-version: '16'
cache: 'pnpm'

- name: Install pnpm
run: npm install -g pnpm
run: |
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
echo "$(npm bin -g)" >> $GITHUB_PATH
- name: Install Prettier
run: pnpm add prettier
Expand Down

0 comments on commit ac1d147

Please sign in to comment.