Using GitHub Actions in Angular project

Pre requisites

GitHub Action for an “npm install”

You can see the source code on GitHub, for copy&paste:
https://github.com/Pabloin/Hack_Call4Code/blob/feature/ID-%236-GitHub-Actions-Angular/.github/workflows/pei-angular.yml
Hook alive, and in Work In Progress (WIP)
finished …
The Job´s log
an ubuntu 18
git checkout
Use node 12
npm install …. after a “cd” coman because I am no in the top level folder of GitHub
ok npm install
and Clean Up …

GitHub Action for the “Angular” build

 npm run build
last “build” … we needed to add the “cd” command again to change the dir ..
git push …
we had a successful build

Resources

--

--

--

#cloud . #mobile ~} Sharing IT while learning It! ... Opinions are for my own

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Detecting Mouse Hover over Irregular Shapes

Create a simple Express App

Best Features of Javascript

Customising Slate js — Part 1 (adding Material UI)

The 7 Facets of Web Components

Encapsulation, isolation, separation, modularization, distribution, customization, documentation

Solving the LeetCode Problem Palindrome Number

A function within a function?

Hello world

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Pablo Ezequiel Inchausti

Pablo Ezequiel Inchausti

#cloud . #mobile ~} Sharing IT while learning It! ... Opinions are for my own

More from Medium

Debugging NodeJS Google Cloud Functions Locally with Functions Framework in VSCode

Java-Spring Boot | GraphQL | Docker

Integrate AWS GraphQL in your Ionic/Angular applications using Amplify.

Building Micronaut applications with Micronaut Mongo Reative

Photo by <a href=”https://unsplash.com/@fabianmardi?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Fabian Mardi</a> on <a href=”https://unsplash.com/s/photos/snow?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>