CI / CD | Status |
---|---|
Circle CI | |
Semaphore CI |
$ nvm use # To use right node version
$ npm install
With prepending npm run
we can use SLS installed per-project, instead than globally.
$ npm run serverless invoke test # launch tests # OR... npm run test
$ npm run serverless deploy # deploy to aws
$ npm run sls offline # launch offline deploy. Call http://localhost:3000/dev/ping