.gitlab-ci.yml 267 B

12345678910111213141516
  1. stages:
  2. - test
  3. before_script:
  4. - apt-get update
  5. - curl -fsSL https://deb.nodesource.com/setup_14.x | bash -
  6. - apt-get install -y nodejs
  7. # - apt-get install -y npm
  8. - npm install --global yarn
  9. - yarn install
  10. unit:
  11. stage: test
  12. script:
  13. - yarn test