dashboard-ui/.github/workflows/futon-deploy.yaml
l4kr 0152ccf04f
Some checks failed
Lint Workflow / lint (pull_request) Failing after 25s
acid testing
2023-09-13 16:06:48 +02:00

33 lines
859 B
YAML

name: Lint Workflow
on:
pull_request:
types: [closed]
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2.4.0
with:
node-version: '16.x'
- name: Install dependencies
run: npm install
- name: Initialize ESLint configuration file
run: npx eslint --init
- name: Initialize Stylelint configuration file
run: npx stylelint --init
- name: Initialize HTMLHint configuration file
run: npx htmlhint --init
- name: Lint CSS files
run: npx stylelint '**/*.css' --config .stylelintrc.json
- name: Lint JavaScript files
run: npx eslint '**/*.js'
- name: Lint HTML files
run: npx htmlhint '**/*.html'