Atlassian

Building an Angular app and deploying it to Firebase using Bitbucket Pipelines

Sep 17, 2019Joaquin Cid
Building an Angular app and deploying it to Firebase using Bitbucket Pipelines
SummaryAI, from the source post

This post introduces a comprehensive guide to setting up a CI/CD pipeline for an Angular application. It details the steps for creating an Angular app, configuring Bitbucket repositories, setting up Firebase Hosting, and integrating these components. Key technical contributions include: defining npm scripts for CI/CD (`build:prod`, `test:ci`, `e2e:ci`), configuring Karma and Protractor for headless browser execution in a CI environment (`ChromeHeadlessCI`, `e2e/protractor-ci.conf.js`), generating and using a Firebase token as a repository variable, and creating a `bitbucket-pipelines.yml` file to orchestrate the installation of Node.js, Chrome, running tests, building the Angular app, and deploying to Firebase Hosting using the `atlassian/firebase-deploy` pipe.

More from the Angular App CI/CD with Bitbucket Pipelines and Firebase Hosting trail