Bolierplate for CI pipeline without using any frameworks CLI. It uses Google Cloud Build and deploys to Google Cloud Storage
Please make sure you are using at least node.js v10 and npm version 6
Clone the repository
git clone https://github.com/sallamx99/ci-cdInstall dependencies with exact dependency tree
npm ciCheck available scripts in package.json and run them by executing
npm run <script name>Example for running e2e tests
npm run test:e2eTo run the pipeline
npm run buildTo generate a bundle
npm run bundleThe npm scripts tested to be working on Linux. Contributions are welcome
The CI used is Google Cloud Build and it is configured in cloudbuild.yaml