diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index be298e1..cbfda22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -27,4 +27,8 @@ jobs: run: npm install --global vercel@latest - name: Deploy to Vercel id: deploy - run: echo "url=$(vercel ${{ inputs.isProd == true && '--prod' || '' }} --yes --token=${{ secrets.VERCEL_TOKEN }})" >> "$GITHUB_OUTPUT" + run: | + echo "url=$(vercel ${{ inputs.isProd == true && '--prod' || '' }} --yes --token=${{ secrets.VERCEL_TOKEN }})" >> "$GITHUB_OUTPUT" + code=$? + if [ $code -ne 0 ]; then exit 1; fi + diff --git a/README.md b/README.md index 4ba43e8..7c24777 100755 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ ## dnd-timeline: A headless timeline library, based on [`dnd-kit`](https://docs.dndkit.com/) + + + - **Headless:** `dnd-timeline` is a headless-ui library, and contains 0 styling, aside from functional styling (position, z-index, etc.). - **Hook-based:** exposes simple hooks like `useItem` and `useRow`, that should integrate seamlessly into your existing architecture. - **Flexible:** very slim and flexible by design. `dnd-timeline` exposes utility functions and positional styling, and you can use them in conjunction with you favorite libraries - styling libraries (MUI, tailwindcss, ant-design, etc.), and functional libraries (react-virtual, framer-motion, etc.)