diff --git a/.github/workflows/lint-frontend.yaml b/.github/workflows/lint-frontend.yaml index e8144a6b..c30afbd4 100644 --- a/.github/workflows/lint-frontend.yaml +++ b/.github/workflows/lint-frontend.yaml @@ -22,13 +22,16 @@ jobs: - uses: actions/checkout@v2 - 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. - name: Run stylelint run: > - npx stylelint bookwyrm/static/css/*.css \ - --config dev-tools/.stylelintrc.js + yarn stylelint bookwyrm/static/css/*.css \ + --config dev-tools/.stylelintrc.js # See .eslintignore for files that are not linted. - name: Run ESLint