Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 592 Bytes

File metadata and controls

24 lines (18 loc) · 592 Bytes

NodeJS Prettier

Runs prettier on your code to check for formatting errors.

How-to Guides

Get Started

  1. Make sure actions/checkout action is used before this action.

  2. Add this action to your job in your workflow, here is an example:

    #...
    jobs:
      check-format:
        name: Check Format
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v2 # checkout the repository first
          - uses: straw-hat-team/github-actions-workflows/nodejs/prettier@master