From e17eec24b57e8373845a5129f3f623056f60c30b Mon Sep 17 00:00:00 2001 From: Luke Carl Hartman Date: Mon, 19 Aug 2024 09:47:50 -0700 Subject: [PATCH] Add Prettier GitHub Action --- .github/workflows/prettier.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/prettier.yml diff --git a/.github/workflows/prettier.yml b/.github/workflows/prettier.yml new file mode 100644 index 0000000..05d2186 --- /dev/null +++ b/.github/workflows/prettier.yml @@ -0,0 +1,15 @@ +name: Prettier Check + +on: [push, pull_request] + +jobs: + prettier: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: npm run format -- --check