image: node:latest

stages:
  - build
  - test

job1:
  stage: build
  script:
    - npm install
  tags:
    - npm

job2:
  stage: test
  script:
    - npm test
  tags:
    - npm
