1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix stylelint workflow

This commit is contained in:
Bill Thornton 2024-01-30 10:15:39 -05:00
parent d611b647a9
commit f0c7b61b82

View file

@ -56,8 +56,8 @@ jobs:
- name: Run eslint
run: npx eslint --quiet "."
run-stylelint-css:
name: Run stylelint (css)
run-stylelint:
name: Run stylelint
runs-on: ubuntu-latest
steps:
@ -78,31 +78,7 @@ jobs:
run: npm ci --no-audit
- name: Run stylelint
run: npm run stylelint:css
run-stylelint-scss:
name: Run stylelint (scss)
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Setup node environment
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: 20
check-latest: true
cache: npm
- name: Set up stylelint matcher
uses: xt0rted/stylelint-problem-matcher@34db1b874c0452909f0696aedef70b723870a583 # tag=v1
- name: Install Node.js dependencies
run: npm ci --no-audit
- name: Run stylelint
run: npm run stylelint:scss
run: npm run stylelint
run-tsc:
name: Run TypeScript build check