diff --git a/.github/workflows/pkg.pr.new.yml b/.github/workflows/pkg.pr.new.yml new file mode 100644 index 0000000..ad76cb3 --- /dev/null +++ b/.github/workflows/pkg.pr.new.yml @@ -0,0 +1,24 @@ +name: PKG PR New Test +on: + workflow_dispatch: + pull_request: + types: [opened, synchronize, ready_for_review] + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version: 20 + + - run: yarn --frozen-lockfile + + - run: npx pkg-pr-new publish diff --git a/src/lib/Form.tsx b/src/lib/Form.tsx index c528b2b..d872643 100644 --- a/src/lib/Form.tsx +++ b/src/lib/Form.tsx @@ -66,6 +66,7 @@ const Form = ({ const autoSubmitHandler = useAutoSubmit({ onSubmit, formMethods, autoSubmitConfig }); return ( + hello world timothy
{ if (formRef) {