mirror of
https://github.com/morpheusthewhite/spicetify-themes.git
synced 2024-11-25 04:12:29 +01:00
add: prettier CI
This commit is contained in:
parent
838a572a6a
commit
74fb34d1cf
22
.github/workflows/prettier.yml
vendored
Normal file
22
.github/workflows/prettier.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: Prettier CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Prettify code
|
||||
uses: creyD/prettier_action@v4.2
|
||||
with:
|
||||
prettier_options: --write **/*.{json,md} --use-tabs
|
Loading…
Reference in New Issue
Block a user