Skip to content

Commit 4b2162e

Browse files
committed
ci(type-check): install eslint before typescript in test-published-types
1 parent d143827 commit 4b2162e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/type-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,6 @@ jobs:
7878
run: npm install
7979
working-directory: test-published-types
8080

81-
- name: install eslint-plugin-react and typescript version ${{ matrix.ts_version }}
82-
run: npm install --no-save "$ESLINT_PLUGIN_REACT_PATH" typescript@${{ matrix.ts_version }}
83-
working-directory: test-published-types
84-
8581
- name: select eslint for published types
8682
run: |
8783
if [ "${{ matrix.eslint_version }}" = "10" ]; then
@@ -91,6 +87,10 @@ jobs:
9187
fi
9288
working-directory: test-published-types
9389

90+
- name: install eslint-plugin-react and typescript version ${{ matrix.ts_version }}
91+
run: npm install --no-save "$ESLINT_PLUGIN_REACT_PATH" typescript@${{ matrix.ts_version }}
92+
working-directory: test-published-types
93+
9494
- name: show installed typescript version
9595
run: npm list typescript --depth=0
9696
working-directory: test-published-types

0 commit comments

Comments
 (0)