Try --plugin-search-dir #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Prettier | |
on: [push, pull_request] | |
jobs: | |
prettier: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
# Make sure the actual branch is checked out when running on pull requests | |
ref: ${{ github.head_ref }} | |
fetch-depth: 0 | |
- uses: creyD/[email protected] | |
with: | |
prettier_version: 2.8.8 | |
prettier_options: --write . --plugin-search-dir node_modules | |
prettier_plugins: '@prettier/[email protected]' | |
commit_message: 'Run Prettier' |