From c19b9d75756058b911ae6c6ab9d9bf2d89279aa4 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 15 Feb 2022 12:46:28 -0800 Subject: [PATCH] Updates stylelintrc filename and removes yarn --- .github/workflows/lint-frontend.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-frontend.yaml b/.github/workflows/lint-frontend.yaml index 6e4f799d6..6c1799ebf 100644 --- a/.github/workflows/lint-frontend.yaml +++ b/.github/workflows/lint-frontend.yaml @@ -8,7 +8,7 @@ on: - '.github/workflows/**' - 'static/**' - '.eslintrc' - - '.stylelintrc' + - '.stylelintrc.js' pull_request: branches: [ main, ci, frontend ] @@ -24,9 +24,6 @@ jobs: - name: Install modules run: npm install dev-tools - - name: Yarn install - run: yarn - # See .stylelintignore for files that are not linted. - name: Run stylelint run: > @@ -37,5 +34,5 @@ jobs: # See .eslintignore for files that are not linted. - name: Run ESLint run: > - yarn eslint bookwyrm/static \ + npx eslint bookwyrm/static \ --ext .js,.jsx,.ts,.tsx