From b2c97a21f3b4b0b2056d987e1be86603b6e103d5 Mon Sep 17 00:00:00 2001 From: black-backdoor <145743369+black-backdoor@users.noreply.github.com> Date: Wed, 1 Jan 2025 14:08:50 +0100 Subject: [PATCH] Update lint.yml (#138) --- .github/workflows/lint.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ff102d5..3f0e93c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,13 +1,11 @@ -name: Lint +name: 🔍 Lint on: + push: + branches: [ main ] pull_request: branches: [ main ] -defaults: - run: - working-directory: ./src - jobs: htmlhint: runs-on: ubuntu-latest @@ -24,8 +22,8 @@ jobs: - name: 📦 Install dependencies run: npm install - - name: Lint HTML + - name: 🔍 Lint HTML run: npm run lint:html - - name: Lint CSS + - name: 🔍 Lint CSS run: npm run lint:css