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