Skip to content

Commit

Permalink
Cofigure Prettier CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arithefirst committed Nov 15, 2024
1 parent 0d7af77 commit 9ae4746
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Prettier

on:
pull_request:
push:
branches:
- master

jobs:
prettier:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}

- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write .
same_commit: true
prettier_plugins: prettier-plugin-svelte

0 comments on commit 9ae4746

Please sign in to comment.