From a005dad0138ac97d11de3b51dc70ec20575d36aa Mon Sep 17 00:00:00 2001 From: MZabolotnev Date: Wed, 18 Oct 2023 20:13:59 +0300 Subject: [PATCH] fix linter job --- .github/workflows/awesome-linter.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/awesome-linter.yml b/.github/workflows/awesome-linter.yml index 5b35e803..13f9b3f3 100644 --- a/.github/workflows/awesome-linter.yml +++ b/.github/workflows/awesome-linter.yml @@ -12,7 +12,29 @@ jobs: with: node-version: 14.18.1 - run: npm install --production - - run: npm run lint:all + - run: npm run lint:js + + lint-css: + name: Lint CSS + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14.18.1 + - run: npm install --production + - run: npm run lint:css + + lint-html: + name: Lint HTML + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 14.18.1 + - run: npm install --production + - run: npm run lint:html lint-branch-name: name: Validate branch name