fix(reminder-button): dark-mode contrast on clock icon + datetime picker #52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: ["**"] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| services: | |
| db: | |
| image: pgvector/pgvector:pg17 | |
| ports: | |
| - 5432:5432 | |
| env: | |
| POSTGRES_USER: libredesk | |
| POSTGRES_PASSWORD: libredesk | |
| POSTGRES_DB: libredesk | |
| options: >- | |
| --health-cmd="pg_isready -U libredesk" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=5 | |
| redis: | |
| image: redis | |
| ports: | |
| - 6379:6379 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version: "1.24.3" | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: "20" | |
| - name: Install pnpm | |
| run: npm install -g pnpm | |
| - name: Install cypress deps | |
| run: sudo apt-get update && sudo apt-get install -y libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2t64 libxtst6 xauth xvfb | |
| - name: Build binary and frontend | |
| run: make build | |
| - name: Configure app | |
| run: | | |
| cp config.sample.toml config.toml | |
| sed -i 's/host = "db"/host = "127.0.0.1"/' config.toml | |
| sed -i 's/address = "redis:6379"/address = "localhost:6379"/' config.toml | |
| - name: Run unit tests for frontend | |
| run: cd frontend && pnpm test:run | |
| - name: Install db schema and run tests | |
| env: | |
| LIBREDESK_SYSTEM_USER_PASSWORD: "StrongPass!123" | |
| run: | | |
| ./libredesk --install --idempotent-install --yes --config ./config.toml | |
| ./libredesk --upgrade --yes --config ./config.toml | |
| ./libredesk --config ./config.toml & | |
| sleep 10 | |
| cd frontend | |
| pnpm run test:e2e:ci |