8000 test(eslint-plugin): install multiple eslint versions to test matrix by esetnik · Pull Request #2464 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content

test(eslint-plugin): install multiple eslint versions to test matrix #2464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contac 8000 t its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,8 @@ jobs:
strategy:
matrix:
node-version: [10.x, 14.x]
eslint-version: [5, 6, 7]
8000 fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -259,49 +261,59 @@ jobs:
yarn lerna:init
yarn check:clean-workspace-after-install

- name: Build
- name: Use eslint v${{ matrix.eslint-version }}
run: |
yarn build
yarn add -DW eslint@${{ matrix.eslint-version }} --ignore-scripts

- name: Build
run: yarn build

- name: Run unit tests for typescript-estree
run: yarn test
working-directory: packages/typescript-estree
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for visitor-keys
run: yarn test
working-directory: packages/visitor-keys
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for scope-manager
run: yarn test
working-directory: packages/scope-manager
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for experimental-utils
run: yarn test
working-directory: packages/experimental-utils
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for parser
run: yarn test
working-directory: packages/parser
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for eslint-plugin
run: yarn test
working-directory: packages/eslint-plugin
if: ${{ always() }}
env:
CI: true

- name: Run unit tests for eslint-plugin-tslint
run: yarn test
working-directory: packages/eslint-plugin-tslint
if: ${{ always() }}
env:
CI: true

Expand Down
0