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

update next 13.4

parent a3bcd21d
No related branches found
No related tags found
No related merge requests found
Pipeline #31792 passed
......@@ -15,7 +15,7 @@
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml
image: node:19
image: node:20
stages: # List of stages for jobs, and their order of execution
- build
......@@ -27,13 +27,12 @@ build-job: # This job runs in the build stage, which runs first.
script:
- npm i
#- npm run build # needs automatic api key binding/refresh
unit-test-job: # This job runs in the test stage.
stage: test # It only starts when the job in the build stage completes successfully.
script:
- echo "Running unit tests... This will take about 60 seconds."
- sleep 60
- echo "Running unit tests... This will take about 10 seconds."
- sleep 10
- echo "Code coverage is 90%"
lint-test-job: # This job also runs in the test stage.
......
{
"typescript.tsdk": "node_modules\\typescript\\lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
\ No newline at end of file
......@@ -57,8 +57,6 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
[http://localhost:3000/api/hello](http://localhost:3000/api/hello) is an endpoint that uses [Route Handlers](https://beta.nextjs.org/docs/routing/route-handlers). This endpoint can be edited in `app/api/hello/route.ts`.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Learn More
......
export async function GET(request: Request) {
return new Response('Hello, Next.js!')
}
File moved
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
appDir: true,
},
images: {
domains: ["images.igdb.com"]
}
......
This diff is collapsed.
......@@ -6,6 +6,6 @@ generator client {
}
datasource db {
provider = "sqlite"
provider = "postgresql"
url = env("DATABASE_URL")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment