Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 65bc994

Browse files
authored
test: Run with relevant React stable types (#1352)
1 parent c3e3d90 commit 65bc994

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎.github/workflows/validate.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ jobs:
5555
- name: ⚛️ Setup react
5656
run: npm install react@${{ matrix.react }} react-dom@${{ matrix.react }}
5757

58+
- name: ⚛️ Setup react types
59+
if: ${{ matrix.react != 'canary' && matrix.react != 'experimental' }}
60+
run:
61+
npm install @types/react@${{ matrix.react }} @types/react-dom@${{
62+
matrix.react }}
63+
5864
- name: ▶️ Run validate script
5965
run: npm run validate
6066

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /