diff --git a/.dev-ci.yml b/.dev-ci.yml index 6f6fd6f5ea0f3ba8316dc4e9141a87a2addb1be3..3bb9928a69bf6cfa1eae128e4cefb563b4ef3b89 100644 --- a/.dev-ci.yml +++ b/.dev-ci.yml @@ -4,6 +4,8 @@ cache: # Cache persists between pipelines - node_modules/ - .next/ +image: node:latest + stages: # List of stages for jobs, and their order of execution - build - test @@ -14,13 +16,9 @@ build-job: # This job runs in the build stage, which runs first. - npm install - npm run build - chmod u+x node_modules - tags: - - dev-runner # Use the runner with correct tag to run this pipeline 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..." - tags: - - dev-runner # Use the runner with correct tag to run this pipeline