default:
  image: node:10

before_script:
  - npm ci

stages:
  - build
  - test

backend_build:
  stage: build
  script:
    - npm run build

backend_test:
  stage: test
  script:
    - npm test