Skip to content

Commit 646201e

Browse files
committed
GH-47: Add antd 5.1.0 into the environments list
Signed-off-by: Artyom Vancyan <artyom.vancyan2000@gmail.com>
1 parent b514792 commit 646201e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
strategy:
3939
matrix:
40-
env: [ antd_v424, antd_v520, antd_v530, antd_v540, antd_v550, antd_v560, antd_v570, antd_v580, antd_v590 ]
40+
env: [ antd_v424, antd_v510, antd_v520, antd_v530, antd_v540, antd_v550, antd_v560, antd_v570, antd_v580, antd_v590 ]
4141

4242
steps:
4343
- name: Checkout

tox.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[tox]
22
envlist =
33
antd_v424
4+
antd_v510
45
antd_v520
56
antd_v530
67
antd_v540
@@ -17,6 +18,14 @@ commands =
1718
npm install --legacy-peer-deps
1819
npm run build
1920

21+
[testenv:antd_v510]
22+
changedir = examples/antd5.x
23+
allowlist_externals = npm
24+
commands =
25+
npm install
26+
npm install antd@5.1.0
27+
npm run build
28+
2029
[testenv:antd_v520]
2130
changedir = examples/antd5.x
2231
allowlist_externals = npm

0 commit comments

Comments
 (0)