Skip to content

Commit

Permalink
update action for npm
Browse files Browse the repository at this point in the history
  • Loading branch information
StephDietz committed May 2, 2024
1 parent fe25726 commit 512c0a9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'pnpm'

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

- name: Install Prettier
run: pnpm add prettier
run: npm install --save-dev prettier

- name: Check formatting
run: npx prettier --check .

0 comments on commit 512c0a9

Please sign in to comment.