Skip to content

Bump stylelint from 16.3.1 to 16.9.0 #5264

Bump stylelint from 16.3.1 to 16.9.0

Bump stylelint from 16.3.1 to 16.9.0 #5264

Workflow file for this run

name: Stylelint PR Diffs
on:
pull_request:
# synchronize commit(s) pushed to the pull request
types: [synchronize, opened]
branches-ignore:
- "lokalise*"
jobs:
stylelint_pr_diffs:
name: Stylelint
runs-on: ubuntu-latest
steps:
- name: Checkout Rep
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: .nvmrc
registry-url: "https://npm.pkg.github.com"
- name: Cache Node Modules
id: cache
uses: actions/cache@v3
with:
path: node_modules
key: node-modules-${{ hashFiles('package-lock.json') }}
- name: Clean install (CI) dependencies if lockfile (above) changed
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: stylelint
uses: reviewdog/action-stylelint@v1
with:
github_token: ${{ secrets.github_token }}
fail_on_error: true
reporter: github-pr-review
filter_mode: "diff_context"
stylelint_config: ".stylelintrc.json"
stylelint_input: "**/*.scss"