dashboard-ui/.github/workflows/futon-deploy.yaml
l4kr 1693d45864
Some checks failed
Lint / lint (pull_request) Failing after 17s
acid testing
2023-09-13 16:11:53 +02:00

27 lines
594 B
YAML

name: Lint
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: 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'