Skip to content

Instantly share code, notes, and snippets.

@UlisesGascon
Created February 5, 2020 16:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save UlisesGascon/dd2c0184a740a1e5039476efa862e4ea to your computer and use it in GitHub Desktop.
Save UlisesGascon/dd2c0184a740a1e5039476efa862e4ea to your computer and use it in GitHub Desktop.
just a simple script to simulate node v0.10 in Express for CI in local
#!/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