mirror of
https://github.com/databasus/databasus.git
synced 2026-04-06 00:32:03 +02:00
Merge pull request #300 from databasus/develop
FIX (ci \ cd): Add build step after lint step for frontend to catch b…
This commit is contained in:
5
.github/workflows/ci-release.yml
vendored
5
.github/workflows/ci-release.yml
vendored
@@ -81,6 +81,11 @@ jobs:
|
||||
cd frontend
|
||||
npm run lint
|
||||
|
||||
- name: Build frontend
|
||||
run: |
|
||||
cd frontend
|
||||
npm run build
|
||||
|
||||
test-frontend:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-frontend]
|
||||
|
||||
@@ -115,20 +115,20 @@ export const EditDatabaseBaseInfoComponent = ({
|
||||
<div>
|
||||
{isShowName && (
|
||||
<div className="mb-1 flex w-full items-center">
|
||||
<div className="min-w-[150px]">Name</div>
|
||||
<div className="min-w-[100px] md:min-w-[150px]">Name</div>
|
||||
<Input
|
||||
value={editingDatabase.name || ''}
|
||||
onChange={(e) => updateDatabase({ name: e.target.value })}
|
||||
size="small"
|
||||
placeholder="My favourite DB"
|
||||
className="max-w-[200px] grow"
|
||||
className="max-w-[150px] grow md:max-w-[200px]"
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{isShowType && (
|
||||
<div className="mb-1 flex w-full items-center">
|
||||
<div className="min-w-[150px]">Database type</div>
|
||||
<div className="min-w-[100px] md:min-w-[150px]">Database type</div>
|
||||
|
||||
<div className="flex items-center">
|
||||
<Select
|
||||
@@ -136,7 +136,7 @@ export const EditDatabaseBaseInfoComponent = ({
|
||||
onChange={handleTypeChange}
|
||||
options={databaseTypeOptions}
|
||||
size="small"
|
||||
className="w-[200px] grow"
|
||||
className="w-[150px] grow md:w-[200px]"
|
||||
/>
|
||||
|
||||
<img
|
||||
|
||||
@@ -194,15 +194,6 @@ export const SidebarComponent = ({
|
||||
Documentation
|
||||
</a>
|
||||
|
||||
<a
|
||||
className="block rounded text-sm font-medium !text-gray-700 hover:bg-gray-100 hover:!text-blue-600 dark:!text-gray-300 dark:hover:bg-gray-700"
|
||||
href="https://databasus.com/contribute"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>
|
||||
Contribute
|
||||
</a>
|
||||
|
||||
<a
|
||||
className="block rounded text-sm font-medium !text-gray-700 hover:bg-gray-100 hover:!text-blue-600 dark:!text-gray-300 dark:hover:bg-gray-700"
|
||||
href="https://t.me/databasus_community"
|
||||
@@ -212,8 +203,8 @@ export const SidebarComponent = ({
|
||||
Community
|
||||
</a>
|
||||
|
||||
<div className="pt-2">
|
||||
<StarButtonComponent text="Star on GitHub" size="large" showCount />
|
||||
<div className="flex pt-2">
|
||||
<StarButtonComponent />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user