Update .gitlab-ci.yml file

This commit is contained in:
2024-10-14 18:45:54 +00:00
parent 6ec4743ada
commit b7d67e1fc9
+3 -3
View File
@@ -8,7 +8,7 @@ stages:
# Job to install dependencies
install_dependencies:
stage: install
image: node:16
image: node:20
script:
- npm ci
cache:
@@ -27,7 +27,7 @@ install_dependencies:
# Job to build the Next.js project
build_nextjs:
stage: build
image: node:16
image: node:20
script:
- npm run build
dependencies:
@@ -48,7 +48,7 @@ build_nextjs:
# Job to run tests
run_tests:
stage: test
image: node:16
image: node:20
script:
- npm test # Replace with your test command (e.g. jest)
dependencies: