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!"