From 6c9256b7a50b13953019fb855e8574915ec0fe3f Mon Sep 17 00:00:00 2001 From: Harry Minsky Date: Fri, 6 Sep 2024 10:26:26 -0400 Subject: [PATCH] Create lint.yml Add a linting workflow to github actions --- .github/workflows/lint.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 63dbe87..c926c6b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,9 +10,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version-file: 'front-end/.node-version' + - name: Enter frontend directory + run: cd front-end - name: Install dependencies - working-directory: ./front-end run: npm ci - name: Run ESLint - working-directory: ./front-end run: npm run lint