Skip to content

Commit

Permalink
ci(formatting): prettier check
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom committed Aug 22, 2024
1 parent 6e7ee1a commit 1cb9f72
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Prettier Check

on:
pull_request:
branches: [main, v3]

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Cache npm
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('**/workflows/prettier.yml') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Prettier Check
run: npx prettier --check .

0 comments on commit 1cb9f72

Please sign in to comment.