diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml new file mode 100644 index 0000000..bfb53cc --- /dev/null +++ b/.github/workflows/linting.yml @@ -0,0 +1,21 @@ +name: Linting + +on: [push, pull_request] + +jobs: + + Linting: + + runs-on: ubuntu-latest + + steps: + + - name: Checkout + uses: actions/checkout@v3 + with: + ref: ${{ github.head_ref }} + + - name: Lint code with prettier + uses: creyD/prettier_action@v4.3 + with: + prettier_options: --write **/*.{js,md}