Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches: [main, master]
pull_request:

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Use Yarn 1
run: |
corepack enable
corepack prepare yarn@1.22.19 --activate
- run: yarn install --frozen-lockfile
- run: yarn test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@
},
"peerDependencies": {
"react": ">=17.0.0"
}
},
"packageManager": "yarn@1.22.19"
}
1 change: 0 additions & 1 deletion src/Array/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import isArray from 'lodash/isArray'
import without from 'lodash/without'
import React from 'react'
import {ParentFieldNameContext} from '../Contexts'
import Field from '../Field'
Expand Down