Skip to content

Instantly share code, notes, and snippets.

@eznix86
Forked from LouManglass/.gitlab-ci.yml
Created February 14, 2022 18:00
Show Gist options
  • Save eznix86/1c4f2d35f48d7682c5123fd69fa65492 to your computer and use it in GitHub Desktop.
Save eznix86/1c4f2d35f48d7682c5123fd69fa65492 to your computer and use it in GitHub Desktop.
Sample Gitlab CI job configuration to run tests on merge requests
default:
image: node:15
run-tests:
script:
- npm install @useoptic/cli # or add as a development dependency in your package manager
- npx api run run-diff-tests --exit-on-diff
only:
- merge_requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment