Skip to content

Commit

Permalink
Merge branch 'main' into feat/navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
jcxldn committed Jun 27, 2023
2 parents ad51e7b + 6205604 commit b359c04
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/lint-write.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,17 @@ jobs:
# This is important to fetch the changes to the previous commit
fetch-depth: 0

- name: Prettify code
uses: creyD/[email protected]
- name: Setup Node.js
uses: actions/setup-node@v3

- name: Install dependencies
run: npm ci --no-scripts

- name: Run prettier
run: npx prettier -w .

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
only_changed: True
commit_message: "(lint): Run prettier against ${{ github.sha }}"
prettier_options: "--write ."
branch: ${{ github.head_ref }}

0 comments on commit b359c04

Please sign in to comment.