Skip to content

Commit 3504e2b

Browse files
committed
[Tests] run npm ls in tests
1 parent 9ea7449 commit 3504e2b

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/node-4+.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
node-version: ${{ matrix.node-version }}
7979
after_install: |
8080
npm install --no-save "eslint@${{ matrix.eslint }}" "@typescript-eslint/parser@${{ matrix.node-version >= 14 && '5' || (matrix.node-version >= 12 && '4' || (matrix.node-version >= 10 && '4.0' || (matrix.node-version >= 8 && '3' || '2'))) }}" "babel-eslint@${{ matrix.babel-eslint }}"
81-
skip-ls-check: true
81+
skip-ls-check: ${{ matrix.node-version < 10 && true || false }}
8282
env:
8383
NPM_CONFIG_LEGACY_PEER_DEPS: true
8484
- run: npm run unit-test

.github/workflows/node-pretest.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
name: 'nvm install lts/* && npm install'
1313
with:
1414
node-version: 'lts/*'
15-
skip-ls-check: true
1615
env:
1716
NPM_CONFIG_LEGACY_PEER_DEPS: true
1817
- run: npm run pretest
@@ -26,7 +25,6 @@ jobs:
2625
name: 'nvm install lts/* && npm install'
2726
with:
2827
node-version: 'lts/*'
29-
skip-ls-check: true
3028
env:
3129
NPM_CONFIG_LEGACY_PEER_DEPS: true
3230
- run: echo 'legacy-peer-deps=true' >> .npmrc

.github/workflows/readme.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ jobs:
1212
name: 'nvm install lts/* && npm install'
1313
with:
1414
node-version: 'lts/*'
15-
skip-ls-check: true
1615
env:
1716
NPM_CONFIG_LEGACY_PEER_DEPS: true
1817
- run: npm run generate-list-of-rules:check

0 commit comments

Comments
 (0)