We have a pre-deploy script in the package.json that looks like this
"pre-deploy": "git checkout master && git pull origin master && npm run test.e2e",
We should remove the first checkout master step as we may not always want to deploy from master. I would prefer to deploy from the branch I'm on (e.g. testing a random unmerged feature on staging, or when we need to deploy before QA has finished).
We have a pre-deploy script in the
package.jsonthat looks like this"pre-deploy": "git checkout master && git pull origin master && npm run test.e2e",We should remove the first checkout master step as we may not always want to deploy from master. I would prefer to deploy from the branch I'm on (e.g. testing a random unmerged feature on staging, or when we need to deploy before QA has finished).