From 8de7591a5596eb966039b1ce98ee38b13b9d9a8a Mon Sep 17 00:00:00 2001 From: Martin Raifer Date: Tue, 25 Jan 2022 14:18:08 +0100 Subject: [PATCH] add github workflow for checking code formatting --- .github/workflows/lint.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..974fbbdd --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,13 @@ +name: prettier check +on: [push, pull_request] +jobs: + lint: + name: Check for code formatting mistakes + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v2 + with: + node-version: '16' + - run: npm install + - run: npm run lint