diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..d356445 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,27 @@ +name: Prettier + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + prettier: + runs-on: ubuntu-latest + name: Prettier + steps: + - name: Check out code + uses: actions/checkout@v2 + + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: "20.x" + cache: "npm" + + - name: Install Dependencies + run: npm i + + - name: Run Prettier + run: npx prettier --check . diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 098c1a2..faebc8b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1 +1,2 @@ # INSERT QUIDE ON HOW TO CONTRIBUTE HERE +