Update .gitlab-ci.yml file #62

Merged
SinusFox merged 1 commits from pipeline-update into main 2024-10-14 18:46:24 +00:00
+3 -3
View File
@@ -8,7 +8,7 @@ stages:
# Job to install dependencies # Job to install dependencies
install_dependencies: install_dependencies:
stage: install stage: install
image: node:16 image: node:20
script: script:
- npm ci - npm ci
cache: cache:
@@ -27,7 +27,7 @@ install_dependencies:
# Job to build the Next.js project # Job to build the Next.js project
build_nextjs: build_nextjs:
stage: build stage: build
image: node:16 image: node:20
script: script:
- npm run build - npm run build
dependencies: dependencies:
@@ -48,7 +48,7 @@ build_nextjs:
# Job to run tests # Job to run tests
run_tests: run_tests:
stage: test stage: test
image: node:16 image: node:20
script: script:
- npm test # Replace with your test command (e.g. jest) - npm test # Replace with your test command (e.g. jest)
dependencies: dependencies: