Skip to content

ci: copy split up CI jobs from upstream #4

ci: copy split up CI jobs from upstream

ci: copy split up CI jobs from upstream #4

Workflow file for this run

name: CSS Linting
on:
push:
branches-ignore:
- "dependabot/**"
paths:
- "package*.json"
- "Gruntfile.coffee"
- ".stylelint*"
- ".sass-lint.yml"
- "**/*.css"
- "**/*.scss"
- ".github/workflows/lint-css.yml"
pull_request:
paths:
- "package*.json"
- "Gruntfile.coffee"
- ".stylelint*"
- ".sass-lint.yml"
- "**/*.css"
- "**/*.scss"
- ".github/workflows/lint-css.yml"
jobs:
lint-css:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
cache: npm
- name: Install Grunt
run: npm i -g bower grunt-cli --force
- name: Install npm dependencies
run: npm ci
- name: Stylelint
run: grunt stylelint
- name: Sass Lint
run: grunt sasslint