Skip to content
Snippets Groups Projects
Commit bfe1e6eb authored by Wakefield, Rob's avatar Wakefield, Rob
Browse files

Merge branch 'master' into 'production'

Add shared runner dev CI

See merge request !9
parents bbd5fefb 70c79e00
No related branches found
No related tags found
5 merge requests!53Cv upload,!49Master,!35Create pages from mockups and link with Prisma,!14Separate build/test and deploy stage of production pipeline,!9Add shared runner dev CI
Pipeline #419246 passed
......@@ -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
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