mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Try ci with yarn instead of npx
This commit is contained in:
parent
60b2453d4d
commit
c054ccc84b
1 changed files with 6 additions and 3 deletions
9
.github/workflows/lint-frontend.yaml
vendored
9
.github/workflows/lint-frontend.yaml
vendored
|
@ -22,13 +22,16 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- 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: >
|
||||||
npx stylelint bookwyrm/static/css/*.css \
|
yarn stylelint bookwyrm/static/css/*.css \
|
||||||
--config dev-tools/.stylelintrc.js
|
--config dev-tools/.stylelintrc.js
|
||||||
|
|
||||||
# See .eslintignore for files that are not linted.
|
# See .eslintignore for files that are not linted.
|
||||||
- name: Run ESLint
|
- name: Run ESLint
|
||||||
|
|
Loading…
Reference in a new issue