diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 44d2ca1..0c18ea5 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -9,6 +9,5 @@ jobs: - uses: actions/checkout@v2 - name: Install modules run: | - yarn global add eslint - echo "::add-path::$(yarn global bin)" - - run: eslint index.js --ext .js,.jsx,.ts,.tsx \ No newline at end of file + sudo npm install -g eslint@8 + - run: eslint index.js lib --ext .js,.jsx,.ts,.tsx \ No newline at end of file