Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infra: Introduce npm/yarn #6

Closed
6 tasks done
EthanLin-TWer opened this issue Mar 18, 2017 · 0 comments
Closed
6 tasks done

Infra: Introduce npm/yarn #6

EthanLin-TWer opened this issue Mar 18, 2017 · 0 comments

Comments

@EthanLin-TWer
Copy link
Owner

EthanLin-TWer commented Mar 18, 2017

  • npm init
  • npm install -g yarn
  • commit yarn.lock file
  • run npm test in travis script section
  • add node_modules to .gitignore file
  • cache yarn in travis

Pitfall: use yarn to install dependencies every time after yarn.lock is introduced instead of using npm. Otherwise dependencies can't get resolved correctly by travis calling yarn

@EthanLin-TWer EthanLin-TWer reopened this Mar 23, 2017
@EthanLin-TWer EthanLin-TWer reopened this Mar 24, 2017
@EthanLin-TWer EthanLin-TWer reopened this Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant