diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..6585a40 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,40 @@ +--- +name: Bug Report +about: Create a report to help us improve +title: "[BUG] " +labels: bug +assignees: "" +--- + +## Describe the Bug + +A clear and concise description of what the bug is. + +## To Reproduce + +Steps to reproduce the behavior: + +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +## Expected Behavior + +A clear and concise description of what you expected to happen. + +## Screenshots + +If applicable, add screenshots to help explain your problem. + +## Environment + +- Affected Area: [feature/core/etc] +- Version: [e.g., 1.0.0] +- OS: [e.g., Windows/Mac/Linux] +- Node Version: [e.g., 18.x] +- Browser: [e.g., Chrome, Safari] + +## Additional Context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..2066683 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,30 @@ +--- +name: Feature Request +about: Suggest an idea for this project +title: "[FEATURE] " +labels: enhancement +assignees: "" +--- + +## Is your feature request related to a problem? + +A clear and concise description of what the problem is. + +## Describe the solution you'd like + +A clear and concise description of what you want to happen. + +## Describe alternatives you've considered + +A clear and concise description of any alternative solutions or features you've considered. + +## Which part does this affect? + +- [ ] Backend API +- [ ] Frontend Dashboard +- [ ] SDK +- [ ] Documentation + +## Additional context + +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..907493a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + test: + runs-on: ubuntu-latest + permissions: + contents: read + strategy: + matrix: + node-version: [24] + steps: + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + with: + persist-credentials: false + - uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v2.4.0 + with: + version: 11 + - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 + with: + node-version: ${{ matrix.node-version }} + cache: "pnpm" + + - run: pnpm install --frozen-lockfile + - run: pnpm run test:ci + - run: pnpm run build diff --git a/app/globals.css b/app/globals.css index fa0ccac..21b3e8a 100644 --- a/app/globals.css +++ b/app/globals.css @@ -160,7 +160,7 @@ @layer base { /* Apply default text color and background */ html { - `@apply` bg-canvas text-text-primary; + @apply bg-canvas text-text-primary; transition: var(--transition-theme); } diff --git a/package.json b/package.json index e13371c..229655b 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "start": "next start", "lint": "eslint", "test": "vitest", - "test:ci": "vitest run --coverage", + "test:ci": "vitest run --coverage --passWithNoTests", "test:watch": "vitest --watch", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", @@ -52,4 +52,4 @@ "vite-tsconfig-paths": "^6.1.1", "vitest": "^4.1.7" } -} \ No newline at end of file +}