js-test:
  stage: test
  image: node:14-alpine
  needs:
    - js-install
  script:
    - '[ -e yarn.lock ] && yarn test || npm run test'
