Skip to content

Commit

Permalink
Switch Prettier CI to creyD/prettier_action@v3.3
Browse files Browse the repository at this point in the history
No need for the infotexture fork now that the upstream action repo has added support for Prettier plugins:

- creyD/prettier_action#22
- creyD/prettier_action#34
- creyD/prettier_action#36

Signed-off-by: Roger Sheen <roger@infotexture.net>
  • Loading branch information
infotexture committed Feb 27, 2021
1 parent 6604002 commit 62e8bc6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ jobs:
ref: ${{ github.head_ref }}

- name: Prettify code
uses: infotexture/prettier_xml_action@v3.1.x
uses: creyD/prettier_action@v3.3
with:
# This part is also where you can pass other options, for example:
prettier_options: --write **/*.{css,dita*,json,md,scss,xml,yaml,yml}
# Install Prettier XML plugin
prettier_plugins: @prettier/plugin-xml
# Runs the action in dry mode. Files wont get changed and the action fails if there are unprettified files.
dry: true

0 comments on commit 62e8bc6

Please sign in to comment.