Skip to content
Snippets Groups Projects
Commit 90aea8e6 authored by Yusuf Akgül's avatar Yusuf Akgül :hatching_chick:
Browse files

i dont understand gitlab...

parent 47757a0b
No related branches found
No related tags found
No related merge requests found
Pipeline #39719 passed
...@@ -18,34 +18,34 @@ ...@@ -18,34 +18,34 @@
image: node:20 image: node:20
stages: # List of stages for jobs, and their order of execution stages: # List of stages for jobs, and their order of execution
# - build - build
# - test - test
- deploy - deploy
# build-job: # This job runs in the build stage, which runs first. build-job: # This job runs in the build stage, which runs first.
# stage: build stage: build
# script: script:
# - echo "Building application..." - echo "Building application..."
# - npm install - npm install
# - npx prisma generate - npx prisma generate
# - npm run build - npm run build
# - echo "Application successfully built." - echo "Application successfully built."
# unit-test-job: # This job runs in the test stage. unit-test-job: # This job runs in the test stage.
# stage: test # It only starts when the job in the build stage completes successfully. stage: test # It only starts when the job in the build stage completes successfully.
# script: script:
# - echo "Running unit tests..." - echo "Running unit tests..."
# - npm install - npm install
# - npm run test - npm run test
# - echo "Done testing." - echo "Done testing."
# lint-test-job: # This job also runs in the test stage. lint-test-job: # This job also runs in the test stage.
# stage: test # It can run at the same time as unit-test-job (in parallel). stage: test # It can run at the same time as unit-test-job (in parallel).
# script: script:
# - echo "Linting code... This will take about 10 seconds." - echo "Linting code... This will take about 10 seconds."
# - npm install - npm install
# - npm run lint - npm run lint
# - echo "Done linting." - echo "Done linting."
deploy-job: # This job runs in the deploy stage. deploy-job: # This job runs in the deploy stage.
stage: deploy # It only runs when *both* jobs in the test stage complete successfully. stage: deploy # It only runs when *both* jobs in the test stage complete successfully.
......
...@@ -4,7 +4,6 @@ import { Gweets } from "@/components/gweets/components/gweets" ...@@ -4,7 +4,6 @@ import { Gweets } from "@/components/gweets/components/gweets"
import ScrollToTop from "@/components/scroll-to-top" import ScrollToTop from "@/components/scroll-to-top"
import { Trends } from "@/components/trends/components/trends" import { Trends } from "@/components/trends/components/trends"
import { Card } from "@/components/ui/card" import { Card } from "@/components/ui/card"
import getURL from "@/lib/utils"
export default async function HomePage() { export default async function HomePage() {
return ( return (
...@@ -15,7 +14,6 @@ export default async function HomePage() { ...@@ -15,7 +14,6 @@ export default async function HomePage() {
<ScrollToTop /> <ScrollToTop />
</div> </div>
<div className="w-full space-y-6 flex flex-col"> <div className="w-full space-y-6 flex flex-col">
<div>{getURL(`/api/users/`)}</div>
<CreateGweet /> <CreateGweet />
<Gweets /> <Gweets />
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment