This will install Firebase tools in your project. Now login into Firebase using
$ firebase login
It will redirect you to browser, and authenticate using your google account. Once you are logged in, you can run this command to attach the code to your project.
$ firebase init
It will take you through a list of options for project setup.
This will create a firebase.json file which should look like the following
The Firebase console will show the deployment like this
For a more detailed step-by-step guide on PWA deployment, check this blog
When deploying an app through a hosting service, be aware that HTTPS will be required to take full advantage of Service Workers and features like Geolocation etc.
For more information on PWA related option in firebase.json , check here