diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 02cf20f0ee..f7b02a3285 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,7 +15,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - run: npm install - run: npm run hoist diff --git a/.github/workflows/npm.yml b/.github/workflows/npm.yml index 6a2a953004..faf0a4e4a2 100644 --- a/.github/workflows/npm.yml +++ b/.github/workflows/npm.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - run: npm install - run: npm run hoist diff --git a/lerna.json b/lerna.json index 4590985cf1..15181548f5 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,4 @@ { "packages": ["packages/*", "website"], - "version": "independent", - "useWorkspaces": true + "version": "independent" } diff --git a/packages/react-radio/src/__test__/RadioGroup.test.tsx b/packages/react-radio/src/__test__/RadioGroup.test.tsx index 674aca9f65..7b6ab336ff 100644 --- a/packages/react-radio/src/__test__/RadioGroup.test.tsx +++ b/packages/react-radio/src/__test__/RadioGroup.test.tsx @@ -18,7 +18,7 @@ describe('', () => { expect(json.type).toBe('div'); expect(json.props.className).toBe('w-radio-group'); if (json.children) { - expect(json.children.length).toBe(2); + expect(json.children.length).toBe(1); } } expect(component.root.props.value).toBe('人妖');