Skip to content

Instantly share code, notes, and snippets.

@fachryansyah
Created May 15, 2021 13:35
Show Gist options
  • Save fachryansyah/9f6eb0ef88f0d8c9a4cb73b91c57b948 to your computer and use it in GitHub Desktop.
Save fachryansyah/9f6eb0ef88f0d8c9a4cb73b91c57b948 to your computer and use it in GitHub Desktop.
full
variables:
TEST_NAME: gitlab.com/viclates-kingdom/test-ci-cd:$CI_COMMIT_REF_NAME
stages:
- test
- stop
- run
testing:
stage: test
script:
- echo 'Running a test'
- npm install
- npm run test
tags:
- test
run_services:
stage: run
script:
- echo 'Running prod app'
- npm install
- ./scripts/run.sh
tags:
- build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment