stages: - qa - deploy_test before_script: - apt-get install - curl -fsSL https://deb.nodesource.com/setup_14.x | bash - - apt-get install -y nodejs - npm install yarn --force - yarn generate qa: stage: qa script: - yarn lint deploy_test: stage: deploy_test script: # - apt-get update -qq && apt-get install -y -qq sshpass # - ssh exploitation@test5 "cd /var/opentalent/git/portail_v2 && nvm exec yarn deploy && echo 'Deploy successful' " - ssh exploitation@test3 'ls /tmp' only: - home