Skip to content

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80) #4

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80)

Add stylelint to GitHub Actions workflow to lint the CSS (closes #80) #4

Workflow file for this run

name: Lint CSS
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install stylelint
run: npm install -g stylelint stylelint-config-standard
- name: Run stylelint
run: stylelint stylesheets/*.css