diff --git a/.github/workflows/docker-ci.yml b/.github/workflows/docker-ci.yml new file mode 100644 index 0000000..064a200 --- /dev/null +++ b/.github/workflows/docker-ci.yml @@ -0,0 +1,18 @@ +name: Docker CI + +on: + push: + paths: + - ".github/workflows/docker-ci.yml" + pull_request: + branches: + - main + +jobs: + docker: + name: Docker compose up + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Docker compose up + run: docker compose up -d diff --git a/.github/workflows/frontend-ci.yml b/.github/workflows/frontend-ci.yml index 1fbebb4..27bdb28 100644 --- a/.github/workflows/frontend-ci.yml +++ b/.github/workflows/frontend-ci.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20] + node-version: [18, 20, 22] steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 4ce6772..393ab0a 100755 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM node:latest AS build +FROM node:22.6.0-alpine3.19 AS build WORKDIR /app diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index eed00ac..3e59962 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -1,10 +1,6 @@ /** @type {import('tailwindcss').Config} */ -import flowbite from "flowbite/plugin"; export default { - content: [ - "./src/**/*.{html,js,svelte,ts}", - "./node_modules/flowbite-svelte/**/*.{html,js,svelte,ts}", - ], + content: ["./src/**/*.{html,js,svelte,ts}"], theme: { extend: { spacing: { @@ -95,5 +91,4 @@ export default { fadeIn: "fadeIn 0.5s ease-in-out", }, }, - plugins: [flowbite], };