mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-22 16:16:39 +00:00
Updates stylelintrc filename and removes yarn
This commit is contained in:
parent
f28d60b94f
commit
c19b9d7575
1 changed files with 2 additions and 5 deletions
7
.github/workflows/lint-frontend.yaml
vendored
7
.github/workflows/lint-frontend.yaml
vendored
|
@ -8,7 +8,7 @@ on:
|
||||||
- '.github/workflows/**'
|
- '.github/workflows/**'
|
||||||
- 'static/**'
|
- 'static/**'
|
||||||
- '.eslintrc'
|
- '.eslintrc'
|
||||||
- '.stylelintrc'
|
- '.stylelintrc.js'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main, ci, frontend ]
|
branches: [ main, ci, frontend ]
|
||||||
|
|
||||||
|
@ -24,9 +24,6 @@ jobs:
|
||||||
- name: Install modules
|
- name: Install modules
|
||||||
run: npm install dev-tools
|
run: npm install dev-tools
|
||||||
|
|
||||||
- name: Yarn install
|
|
||||||
run: yarn
|
|
||||||
|
|
||||||
# See .stylelintignore for files that are not linted.
|
# See .stylelintignore for files that are not linted.
|
||||||
- name: Run stylelint
|
- name: Run stylelint
|
||||||
run: >
|
run: >
|
||||||
|
@ -37,5 +34,5 @@ jobs:
|
||||||
# See .eslintignore for files that are not linted.
|
# See .eslintignore for files that are not linted.
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
run: >
|
run: >
|
||||||
yarn eslint bookwyrm/static \
|
npx eslint bookwyrm/static \
|
||||||
--ext .js,.jsx,.ts,.tsx
|
--ext .js,.jsx,.ts,.tsx
|
||||||
|
|
Loading…
Reference in a new issue