Skip to content
Snippets Groups Projects

CI

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Kyle Davies
    Edited
    gitlab-ci.yml 316 B
    default:
      image: node:latest
    
    stages:
      - build
      - test
    
    build:
      stage: build
      script:
        - echo "Start Building App"
        - npm install
        - npm build
        - echo "Build successful!"
    
    test:
      stage: test
      script:
        - echo "Testing App"
        - npm install
        - CI=true npm test
        - echo "Test successful!"
    
    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