diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..3346b45 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,33 @@ +name: Build after Push + + +on: + push: + branches: + - master # Trigger automatico dopo una push su master + workflow_dispatch: # Possibilità di attivare il workflow manualmente + inputs: + build_type: + description: "Tipo di build (esempio: fast-build, full-build)" + required: true + default: "fast-build" + + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '20' + + - name: Install Dependencies + run: npm install --force + + - name: Run Build + run: npm run build diff --git a/apps/documentation-app/src/pages/DocsPage.tsx b/apps/documentation-app/src/pages/DocsPage.tsx index 8ea0f6a..b893ca3 100644 --- a/apps/documentation-app/src/pages/DocsPage.tsx +++ b/apps/documentation-app/src/pages/DocsPage.tsx @@ -21,9 +21,11 @@ const DocsPage = () => {
npm install @marino-ui/core
- Then import components as needed:
++ Then import components as needed: +
-); @@ -32,10 +34,13 @@ const DocsPage = () => {import Button from '@marino-ui/core;
+import Button from '@marino-ui/core;
- Our library offers a wide range of customizable components like Buttons, Forms, and more. + Our library offers a wide range of customizable components like + Buttons, Forms, and more.
- View all components + + View all components +- Customize components using Tailwind CSS utility classes or extend default styles. + Customize components using Tailwind CSS utility classes or extend + default styles.
className="bg-blue-500 hover:bg-blue-700 text-white"
@@ -81,9 +87,16 @@ const DocsPage = () => {{renderContent()}++ + + +