From 70fbd33d61edb18d51fcf6de9013084e33c4faa8 Mon Sep 17 00:00:00 2001 From: sadnub Date: Wed, 27 Apr 2022 21:18:52 -0400 Subject: [PATCH] add lint and formatting gh action --- .github/workflows/frontend-linting.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/frontend-linting.yml diff --git a/.github/workflows/frontend-linting.yml b/.github/workflows/frontend-linting.yml new file mode 100644 index 00000000..b01a320a --- /dev/null +++ b/.github/workflows/frontend-linting.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - ["develop"] + pull_request: + branches: + - ["develop"] + +jobs: + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 16 + - run: npm install + - run: npm lint + - run: npm format