Created
February 5, 2020 16:45
just a simple script to simulate node v0.10 in Express for CI in local
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
nvm use v0.10 | |
#find . -name "node_modules" -type d -prune -exec rm -rf '{}' + | |
npm install | |
npm config set shrinkwrap false | |
npm rm --silent --save-dev connect-redis | |
npm install --silent --save-dev mocha@3.5.3 | |
npm install --silent --save-dev supertest@2.0.0 | |
npm prune | |
npm rebuild | |
npm run test-ci |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment