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