diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index cdd408e3..6bb0a761 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -55,10 +55,8 @@ jobs: run: npm install -f - name: Install ESLint v${{ matrix.eslint }} run: node scripts/ci-install-eslint ${{ matrix.eslint }} - - name: Build - run: npm run -s build - name: Test - run: npm run -s test:mocha + run: npm run -s test test-for-old-eslint: name: Test strategy: @@ -82,29 +80,4 @@ jobs: - name: Install ESLint v${{ matrix.eslint }} run: node scripts/ci-install-eslint ${{ matrix.eslint }} - name: Test - run: npm run -s test:debug - - test-cov: - name: Test and Send Coverage - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Checkout submodules - run: git submodule update --init - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 'lts/*' - - name: Install Packages - run: npm install - - name: Install ESLint v9 - run: node scripts/ci-install-eslint 9 - - name: Build - run: npm run -s build - - name: Test - run: npm run -s test:cover - - name: Send Coverage - run: npm run -s codecov - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + run: npm run -s test diff --git a/.gitignore b/.gitignore index 8bf60fc5..387f51ab 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -/.nyc_output /.temp /coverage node_modules diff --git a/.nycrc b/.nycrc deleted file mode 100644 index a31275f2..00000000 --- a/.nycrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "include": [ - "src/**/*.ts" - ], - "exclude": [ - "src/external/**/*.ts" - ], - "extension": [ - ".ts" - ], - "require": [ - "ts-node/register" - ], - "reporter": [ - "lcov", - "text-summary" - ], - "sourceMap": true -} diff --git a/README.md b/README.md index b4d1a580..57e0668f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![npm version](https://img.shields.io/npm/v/vue-eslint-parser.svg)](https://www.npmjs.com/package/vue-eslint-parser) [![Downloads/month](https://img.shields.io/npm/dm/vue-eslint-parser.svg)](http://www.npmtrends.com/vue-eslint-parser) [![Build Status](https://github.com/vuejs/vue-eslint-parser/workflows/CI/badge.svg)](https://github.com/vuejs/vue-eslint-parser/actions) -[![Coverage Status](https://codecov.io/gh/vuejs/vue-eslint-parser/branch/master/graph/badge.svg)](https://codecov.io/gh/vuejs/vue-eslint-parser) The ESLint custom parser for `.vue` files. @@ -260,6 +259,7 @@ See [implementing-custom-template-tokenizers.md](./docs/implementing-custom-temp - `defineDocumentVisitor(documentVisitor, options)` ... returns ESLint visitor to traverses the document. - [ast.md](./docs/ast.md) is `