diff --git a/.github/workflows/eslint.yml b/.github/workflows/test.yml similarity index 54% rename from .github/workflows/eslint.yml rename to .github/workflows/test.yml index 44d2ca1..07e9df9 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/test.yml @@ -9,6 +9,7 @@ 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 nedb --ext .js,.jsx,.ts,.tsx + - run: npm install + - run: npm test \ No newline at end of file