Skip to content

Commit

Permalink
build(workflows): trim Prettier workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wei2912 committed Nov 6, 2024
1 parent d8e84ad commit 0f69581
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Cache Node modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- run: npm install
- run: npx prettier -c .
- run: npx --yes prettier -c .

0 comments on commit 0f69581

Please sign in to comment.