diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..63dbe87 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,18 @@ +name: Lint +on: + pull_request: + push: +jobs: + run_lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version-file: 'front-end/.node-version' + - name: Install dependencies + working-directory: ./front-end + run: npm ci + - name: Run ESLint + working-directory: ./front-end + run: npm run lint