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:
parent
d611b647a9
commit
f0c7b61b82
1 changed files with 3 additions and 27 deletions
30
.github/workflows/quality.yml
vendored
30
.github/workflows/quality.yml
vendored
|
@ -56,8 +56,8 @@ jobs:
|
||||||
- name: Run eslint
|
- name: Run eslint
|
||||||
run: npx eslint --quiet "."
|
run: npx eslint --quiet "."
|
||||||
|
|
||||||
run-stylelint-css:
|
run-stylelint:
|
||||||
name: Run stylelint (css)
|
name: Run stylelint
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -78,31 +78,7 @@ jobs:
|
||||||
run: npm ci --no-audit
|
run: npm ci --no-audit
|
||||||
|
|
||||||
- name: Run stylelint
|
- name: Run stylelint
|
||||||
run: npm run stylelint:css
|
run: npm run stylelint
|
||||||
|
|
||||||
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-tsc:
|
run-tsc:
|
||||||
name: Run TypeScript build check
|
name: Run TypeScript build check
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue