Updates stylelintrc filename and removes yarn

This commit is contained in:
Mouse Reeve 2022-02-15 12:46:28 -08:00
parent f28d60b94f
commit c19b9d7575

View file

@ -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