diff --git a/.gitea/workflows/smart-clinic-lint-frontend.yml b/.gitea/workflows/smart-clinic-lint-frontend.yml index 967675b..2086cf2 100644 --- a/.gitea/workflows/smart-clinic-lint-frontend.yml +++ b/.gitea/workflows/smart-clinic-lint-frontend.yml @@ -17,7 +17,9 @@ jobs: ssh-key: ${{ secrets.SSH_JOHN_PRIVATE_KEY }} - name: Install linters run: | + npm init -y npm install htmlhint stylelint stylelint-config-standard eslint + npm pkg set type="module" - name: Lint HTML run: ./node_modules/.bin/htmlhint "./SmartClinicManagementSystem/app/src/main/resources/static/pages//*.html" || true - name: Lint CSS