diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d2c1086..13a874b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,4 @@ + name: CI on: @@ -38,6 +39,7 @@ jobs: frontend-tests: runs-on: ubuntu-latest timeout-minutes: 10 + steps: - name: Get the code uses: actions/checkout@v6 @@ -60,6 +62,7 @@ jobs: frontend-build: runs-on: ubuntu-latest timeout-minutes: 10 + steps: - name: Get the code uses: actions/checkout@v6 @@ -78,3 +81,26 @@ jobs: - name: Build frontend run: npm run build + + frontend-lint: + runs-on: ubuntu-latest + timeout-minutes: 10 + + steps: + - name: Get the code + uses: actions/checkout@v6 + with: + persist-credentials: false + + - name: Set up Node.js + uses: actions/setup-node@v6 + with: + node-version: '22' + cache: npm + cache-dependency-path: package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Lint frontend + run: npx eslint src