From 898bfd7433f08a66adf376c582be6539ad32703d Mon Sep 17 00:00:00 2001 From: Byron Sommardahl Date: Thu, 12 Dec 2024 19:29:06 +0000 Subject: [PATCH] Adding lint. --- .github/workflows/ci-cd.yaml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 00a6ee5..737d878 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -44,4 +44,21 @@ jobs: - name: audit run: cd frontend && npm audit --omit=dev - \ No newline at end of file + lint: + name: ๐Ÿงผ Ensure Code Style + runs-on: ubuntu-latest + needs: build + steps: + - uses: actions/checkout@v4 + + - name: Setup Node 16 + uses: actions/setup-node@v4 + with: + node-version: 16.x + + - name: Install deps + run: cd frontend && npm i + + - name: ๐Ÿ˜‚ Lint code + run: cd frontend && npm run lint + \ No newline at end of file