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 0b47dbe
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 Format

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- run: npm install prettier-plugin-svelte
- run: npm run format
- name: Create formatted files
run: |
git add .
git commit --allow-empty --no-edit
git push

0 comments on commit 0b47dbe

Please sign in to comment.