Skip to content

Commit

Permalink
chore: udpate workflows config.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Aug 25, 2022
1 parent b06e923 commit ea221ff
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"packages": ["packages/*", "website"],
"version": "independent",
"useWorkspaces": true
"version": "independent"
}
2 changes: 1 addition & 1 deletion packages/react-radio/src/__test__/RadioGroup.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('<RadioGroup />', () => {
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('人妖');
Expand Down

0 comments on commit ea221ff

Please sign in to comment.