Skip to content

Instantly share code, notes, and snippets.

@tarun-nagpal-github
Created June 16, 2020 12:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tarun-nagpal-github/779360ff4b9cf4a4e1cc28a24e7abd3f to your computer and use it in GitHub Desktop.
Save tarun-nagpal-github/779360ff4b9cf4a4e1cc28a24e7abd3f to your computer and use it in GitHub Desktop.
before_script.yml
before_script:
- "echo 'Before Script - Started'"
- "echo -e \"machine github.com\\n login $CI_USER\\n password $CI_USER_PASSWORD\" > ~/.netrc"
- "sudo apt update"
- "sudo apt install npm"
- "sudo npm install --g lerna"
- "sudo npm install"
- "sudo ln -s /home/travis/.nvm/versions/node/v14.4.0/bin/node /usr/bin/node"
- "node --version"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment