Add stylelint to linting workflow

This commit is contained in:
Andreas Nedbal 2023-01-18 22:10:39 +01:00 committed by Andreas Nedbal
parent 5c489dd188
commit 16bba0b7f0
1 changed files with 19 additions and 0 deletions

View File

@ -53,3 +53,22 @@ jobs:
with:
reporter: github-check
rubocop_version: gemfile
stylelint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- name: Set up Node 14
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install node modules
run: |
npm i -g yarn
yarn install --frozen-lockfile
- name: stylelint
uses: pixeldesu/action-stylelint@5ec750b03a94da735352bdb02e9dfc3d5af33aba
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-check
stylelint_input: 'app/assets/stylesheets/**/*.scss'