From c054ccc84b8b99e72436926713a942b53b5742e2 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Wed, 16 Feb 2022 17:36:44 -0800 Subject: [PATCH] Try ci with yarn instead of npx --- .github/workflows/lint-frontend.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint-frontend.yaml b/.github/workflows/lint-frontend.yaml index e8144a6be..c30afbd40 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