Bump stylelint from 15.10.1 to 15.11.0 #276
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint assets | |
on: | |
push: | |
paths: | |
- 'package.json' | |
- 'package-lock.json' | |
- '**.js' | |
- '**.md' | |
- '**.scss' | |
- '!src/collections/**.md' | |
pull_request: | |
paths: | |
- 'package.json' | |
- 'package-lock.json' | |
- '**.js' | |
- '**.md' | |
- '**.scss' | |
- '!src/collections/**.md' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Cache node modules | |
uses: actions/cache@v3 | |
with: | |
path: node_modules | |
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint assets | |
run: npm run lint |